{ "resourceType": "Bundle", "id": "resources", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "type": "collection", "entry": [ { "fullUrl": "http://hl7.org/fhir/StructureDefinition/CodeSystem", "resource": { "resourceType": "StructureDefinition", "id": "CodeSystem", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "vocab" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Terminology" } ], "url": "http://hl7.org/fhir/StructureDefinition/CodeSystem", "name": "CodeSystem", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "CodeSystem", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "CodeSystem", "path": "CodeSystem", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "csd-1", "severity": "error", "human": "Within a code system definition, all the codes SHALL be unique", "expression": "(concept.code | descendants().concept.code).isDistinct()", "xpath": "count(distinct-values(descendant::f:concept/f:code/@value))=count(descendant::f:concept)" } ] }, { "id": "CodeSystem.id", "path": "CodeSystem.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "CodeSystem.meta", "path": "CodeSystem.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "CodeSystem.implicitRules", "path": "CodeSystem.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "CodeSystem.language", "path": "CodeSystem.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "CodeSystem.text", "path": "CodeSystem.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "CodeSystem.contained", "path": "CodeSystem.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "CodeSystem.extension", "path": "CodeSystem.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CodeSystem.modifierExtension", "path": "CodeSystem.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "CodeSystem.url", "path": "CodeSystem.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CodeSystem.identifier", "path": "CodeSystem.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "CodeSystem.version", "path": "CodeSystem.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.name", "path": "CodeSystem.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.title", "path": "CodeSystem.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.status", "path": "CodeSystem.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "CodeSystem.experimental", "path": "CodeSystem.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "CodeSystem.publisher", "path": "CodeSystem.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.contact", "path": "CodeSystem.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "CodeSystem.date", "path": "CodeSystem.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CodeSystem.description", "path": "CodeSystem.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CodeSystem.useContext", "path": "CodeSystem.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "CodeSystem.jurisdiction", "path": "CodeSystem.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "CodeSystem.purpose", "path": "CodeSystem.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CodeSystem.copyright", "path": "CodeSystem.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CodeSystem.caseSensitive", "path": "CodeSystem.caseSensitive", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CodeSystem.valueSet", "path": "CodeSystem.valueSet", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CodeSystem.hierarchyMeaning", "path": "CodeSystem.hierarchyMeaning", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The meaning of the hierarchy of concepts in a code system", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning" } } }, { "id": "CodeSystem.compositional", "path": "CodeSystem.compositional", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CodeSystem.versionNeeded", "path": "CodeSystem.versionNeeded", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CodeSystem.content", "path": "CodeSystem.content", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How much of the content of the code system - the concepts and codes it defines - are represented in a code system resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/codesystem-content-mode" } } }, { "id": "CodeSystem.count", "path": "CodeSystem.count", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "CodeSystem.filter", "path": "CodeSystem.filter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CodeSystem.filter.id", "path": "CodeSystem.filter.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CodeSystem.filter.extension", "path": "CodeSystem.filter.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CodeSystem.filter.modifierExtension", "path": "CodeSystem.filter.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CodeSystem.filter.code", "path": "CodeSystem.filter.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true }, { "id": "CodeSystem.filter.description", "path": "CodeSystem.filter.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.filter.operator", "path": "CodeSystem.filter.operator", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The kind of operation to perform as a part of a property based filter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/filter-operator" } } }, { "id": "CodeSystem.filter.value", "path": "CodeSystem.filter.value", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.property", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Property" } ], "path": "CodeSystem.property", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CodeSystem.property.id", "path": "CodeSystem.property.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CodeSystem.property.extension", "path": "CodeSystem.property.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CodeSystem.property.modifierExtension", "path": "CodeSystem.property.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CodeSystem.property.code", "path": "CodeSystem.property.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true }, { "id": "CodeSystem.property.uri", "path": "CodeSystem.property.uri", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CodeSystem.property.description", "path": "CodeSystem.property.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.property.type", "path": "CodeSystem.property.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of a property value", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/concept-property-type" } } }, { "id": "CodeSystem.concept", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ConceptDefinition" } ], "path": "CodeSystem.concept", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CodeSystem.concept.id", "path": "CodeSystem.concept.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.extension", "path": "CodeSystem.concept.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CodeSystem.concept.modifierExtension", "path": "CodeSystem.concept.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CodeSystem.concept.code", "path": "CodeSystem.concept.code", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "CodeSystem.concept.display", "path": "CodeSystem.concept.display", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.definition", "path": "CodeSystem.concept.definition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.designation", "path": "CodeSystem.concept.designation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CodeSystem.concept.designation.id", "path": "CodeSystem.concept.designation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.designation.extension", "path": "CodeSystem.concept.designation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CodeSystem.concept.designation.modifierExtension", "path": "CodeSystem.concept.designation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CodeSystem.concept.designation.language", "path": "CodeSystem.concept.designation.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "CodeSystem.concept.designation.use", "path": "CodeSystem.concept.designation.use", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Details of how a designation would be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/designation-use" } } }, { "id": "CodeSystem.concept.designation.value", "path": "CodeSystem.concept.designation.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.property", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ConceptProperty" } ], "path": "CodeSystem.concept.property", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CodeSystem.concept.property.id", "path": "CodeSystem.concept.property.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.property.extension", "path": "CodeSystem.concept.property.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CodeSystem.concept.property.modifierExtension", "path": "CodeSystem.concept.property.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CodeSystem.concept.property.code", "path": "CodeSystem.concept.property.code", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "CodeSystem.concept.property.value[x]", "path": "CodeSystem.concept.property.value[x]", "min": 1, "max": "1", "type": [ { "code": "code" }, { "code": "Coding" }, { "code": "string" }, { "code": "integer" }, { "code": "boolean" }, { "code": "dateTime" } ] }, { "id": "CodeSystem.concept.concept", "path": "CodeSystem.concept.concept", "min": 0, "max": "*", "contentReference": "#CodeSystem.concept" } ] }, "differential": { "element": [ { "id": "CodeSystem", "path": "CodeSystem", "min": 0, "max": "*", "constraint": [ { "key": "csd-1", "severity": "error", "human": "Within a code system definition, all the codes SHALL be unique", "expression": "(concept.code | descendants().concept.code).isDistinct()", "xpath": "count(distinct-values(descendant::f:concept/f:code/@value))=count(descendant::f:concept)" } ] }, { "id": "CodeSystem.url", "path": "CodeSystem.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CodeSystem.identifier", "path": "CodeSystem.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "CodeSystem.version", "path": "CodeSystem.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.name", "path": "CodeSystem.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.title", "path": "CodeSystem.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.status", "path": "CodeSystem.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "CodeSystem.experimental", "path": "CodeSystem.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "CodeSystem.publisher", "path": "CodeSystem.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.contact", "path": "CodeSystem.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "CodeSystem.date", "path": "CodeSystem.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CodeSystem.description", "path": "CodeSystem.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CodeSystem.useContext", "path": "CodeSystem.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "CodeSystem.jurisdiction", "path": "CodeSystem.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "CodeSystem.purpose", "path": "CodeSystem.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CodeSystem.copyright", "path": "CodeSystem.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CodeSystem.caseSensitive", "path": "CodeSystem.caseSensitive", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CodeSystem.valueSet", "path": "CodeSystem.valueSet", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CodeSystem.hierarchyMeaning", "path": "CodeSystem.hierarchyMeaning", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The meaning of the hierarchy of concepts in a code system", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning" } } }, { "id": "CodeSystem.compositional", "path": "CodeSystem.compositional", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CodeSystem.versionNeeded", "path": "CodeSystem.versionNeeded", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CodeSystem.content", "path": "CodeSystem.content", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How much of the content of the code system - the concepts and codes it defines - are represented in a code system resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/codesystem-content-mode" } } }, { "id": "CodeSystem.count", "path": "CodeSystem.count", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "CodeSystem.filter", "path": "CodeSystem.filter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "CodeSystem.filter.code", "path": "CodeSystem.filter.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true }, { "id": "CodeSystem.filter.description", "path": "CodeSystem.filter.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.filter.operator", "path": "CodeSystem.filter.operator", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The kind of operation to perform as a part of a property based filter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/filter-operator" } } }, { "id": "CodeSystem.filter.value", "path": "CodeSystem.filter.value", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.property", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Property" } ], "path": "CodeSystem.property", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "CodeSystem.property.code", "path": "CodeSystem.property.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true }, { "id": "CodeSystem.property.uri", "path": "CodeSystem.property.uri", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CodeSystem.property.description", "path": "CodeSystem.property.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CodeSystem.property.type", "path": "CodeSystem.property.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of a property value", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/concept-property-type" } } }, { "id": "CodeSystem.concept", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ConceptDefinition" } ], "path": "CodeSystem.concept", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CodeSystem.concept.code", "path": "CodeSystem.concept.code", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "CodeSystem.concept.display", "path": "CodeSystem.concept.display", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.definition", "path": "CodeSystem.concept.definition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.designation", "path": "CodeSystem.concept.designation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CodeSystem.concept.designation.language", "path": "CodeSystem.concept.designation.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "CodeSystem.concept.designation.use", "path": "CodeSystem.concept.designation.use", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Details of how a designation would be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/designation-use" } } }, { "id": "CodeSystem.concept.designation.value", "path": "CodeSystem.concept.designation.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CodeSystem.concept.property", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ConceptProperty" } ], "path": "CodeSystem.concept.property", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CodeSystem.concept.property.code", "path": "CodeSystem.concept.property.code", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "CodeSystem.concept.property.value[x]", "path": "CodeSystem.concept.property.value[x]", "min": 1, "max": "1", "type": [ { "code": "code" }, { "code": "Coding" }, { "code": "string" }, { "code": "integer" }, { "code": "boolean" }, { "code": "dateTime" } ] }, { "id": "CodeSystem.concept.concept", "path": "CodeSystem.concept.concept", "min": 0, "max": "*", "contentReference": "#CodeSystem.concept" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ValueSet", "resource": { "resourceType": "StructureDefinition", "id": "ValueSet", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 3 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "vocab" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Terminology" } ], "url": "http://hl7.org/fhir/StructureDefinition/ValueSet", "name": "ValueSet", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ValueSet", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "ValueSet", "path": "ValueSet", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "vsd-5", "severity": "error", "human": "Value set SHALL contain at least one of a a compose, or an expansion element", "expression": "compose.exists() or expansion.exists()", "xpath": "exists(f:compose) or exists(f:expansion)" } ] }, { "id": "ValueSet.id", "path": "ValueSet.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ValueSet.meta", "path": "ValueSet.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ValueSet.implicitRules", "path": "ValueSet.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.language", "path": "ValueSet.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ValueSet.text", "path": "ValueSet.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ValueSet.contained", "path": "ValueSet.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ValueSet.extension", "path": "ValueSet.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.modifierExtension", "path": "ValueSet.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ValueSet.url", "path": "ValueSet.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ValueSet.identifier", "path": "ValueSet.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ValueSet.version", "path": "ValueSet.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.name", "path": "ValueSet.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.title", "path": "ValueSet.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.status", "path": "ValueSet.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ValueSet.experimental", "path": "ValueSet.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.publisher", "path": "ValueSet.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.contact", "path": "ValueSet.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ValueSet.date", "path": "ValueSet.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ValueSet.description", "path": "ValueSet.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ValueSet.useContext", "path": "ValueSet.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ValueSet.jurisdiction", "path": "ValueSet.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ValueSet.immutable", "path": "ValueSet.immutable", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ValueSet.purpose", "path": "ValueSet.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ValueSet.copyright", "path": "ValueSet.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ValueSet.extensible", "path": "ValueSet.extensible", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ValueSet.compose", "path": "ValueSet.compose", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "vsd-5" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ValueSet.compose.id", "path": "ValueSet.compose.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.extension", "path": "ValueSet.compose.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.compose.modifierExtension", "path": "ValueSet.compose.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.compose.lockedDate", "path": "ValueSet.compose.lockedDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "ValueSet.compose.inactive", "path": "ValueSet.compose.inactive", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ValueSet.compose.include", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ConceptSet" } ], "path": "ValueSet.compose.include", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "vsd-2", "severity": "error", "human": "A value set with concepts or filters SHALL include a system", "expression": "(concept.exists() or filter.exists()) implies system.exists()", "xpath": "not(exists(f:concept) or exists(f:filter)) or exists(f:system)" }, { "key": "vsd-3", "severity": "error", "human": "Cannot have both concept and filter", "expression": "concept.empty() or filter.empty()", "xpath": "not(exists(f:concept)) or not(exists(f:filter))" }, { "key": "vsd-1", "severity": "error", "human": "A value set include/exclude SHALL have a value set or a system", "expression": "valueSet.exists() or system.exists()", "xpath": "exists(f:valueSet) or exists(f:system)" } ], "isSummary": true }, { "id": "ValueSet.compose.include.id", "path": "ValueSet.compose.include.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.include.extension", "path": "ValueSet.compose.include.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.compose.include.modifierExtension", "path": "ValueSet.compose.include.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.compose.include.system", "path": "ValueSet.compose.include.system", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "condition": [ "vsd-1", "vsd-2" ], "isSummary": true }, { "id": "ValueSet.compose.include.version", "path": "ValueSet.compose.include.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.compose.include.concept", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ConceptReference" } ], "path": "ValueSet.compose.include.concept", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "vsd-3" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ValueSet.compose.include.concept.id", "path": "ValueSet.compose.include.concept.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.include.concept.extension", "path": "ValueSet.compose.include.concept.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.compose.include.concept.modifierExtension", "path": "ValueSet.compose.include.concept.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.compose.include.concept.code", "path": "ValueSet.compose.include.concept.code", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ValueSet.compose.include.concept.display", "path": "ValueSet.compose.include.concept.display", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.include.concept.designation", "path": "ValueSet.compose.include.concept.designation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ValueSet.compose.include.concept.designation.id", "path": "ValueSet.compose.include.concept.designation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.include.concept.designation.extension", "path": "ValueSet.compose.include.concept.designation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.compose.include.concept.designation.modifierExtension", "path": "ValueSet.compose.include.concept.designation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.compose.include.concept.designation.language", "path": "ValueSet.compose.include.concept.designation.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ValueSet.compose.include.concept.designation.use", "path": "ValueSet.compose.include.concept.designation.use", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Details of how a designation would be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/designation-use" } } }, { "id": "ValueSet.compose.include.concept.designation.value", "path": "ValueSet.compose.include.concept.designation.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.include.filter", "path": "ValueSet.compose.include.filter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "vsd-3" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ValueSet.compose.include.filter.id", "path": "ValueSet.compose.include.filter.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.include.filter.extension", "path": "ValueSet.compose.include.filter.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.compose.include.filter.modifierExtension", "path": "ValueSet.compose.include.filter.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.compose.include.filter.property", "path": "ValueSet.compose.include.filter.property", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ValueSet.compose.include.filter.op", "path": "ValueSet.compose.include.filter.op", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "binding": { "strength": "required", "description": "The kind of operation to perform as a part of a property based filter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/filter-operator" } } }, { "id": "ValueSet.compose.include.filter.value", "path": "ValueSet.compose.include.filter.value", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ValueSet.compose.include.valueSet", "path": "ValueSet.compose.include.valueSet", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "condition": [ "vsd-1" ], "isSummary": true }, { "id": "ValueSet.compose.exclude", "path": "ValueSet.compose.exclude", "min": 0, "max": "*", "contentReference": "#ValueSet.compose.include", "condition": [ "vsd-2" ] }, { "id": "ValueSet.expansion", "path": "ValueSet.expansion", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "vsd-5" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ValueSet.expansion.id", "path": "ValueSet.expansion.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ValueSet.expansion.extension", "path": "ValueSet.expansion.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.expansion.modifierExtension", "path": "ValueSet.expansion.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.expansion.identifier", "path": "ValueSet.expansion.identifier", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ValueSet.expansion.timestamp", "path": "ValueSet.expansion.timestamp", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ValueSet.expansion.total", "path": "ValueSet.expansion.total", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "ValueSet.expansion.offset", "path": "ValueSet.expansion.offset", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "meaningWhenMissing": "Paging is not being used" }, { "id": "ValueSet.expansion.parameter", "path": "ValueSet.expansion.parameter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ValueSet.expansion.parameter.id", "path": "ValueSet.expansion.parameter.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ValueSet.expansion.parameter.extension", "path": "ValueSet.expansion.parameter.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.expansion.parameter.modifierExtension", "path": "ValueSet.expansion.parameter.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.expansion.parameter.name", "path": "ValueSet.expansion.parameter.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ValueSet.expansion.parameter.value[x]", "path": "ValueSet.expansion.parameter.value[x]", "min": 0, "max": "1", "type": [ { "code": "string" }, { "code": "boolean" }, { "code": "integer" }, { "code": "decimal" }, { "code": "uri" }, { "code": "code" } ] }, { "id": "ValueSet.expansion.contains", "path": "ValueSet.expansion.contains", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "vsd-6", "severity": "error", "human": "SHALL have a code or a display", "expression": "code.exists() or display.exists()", "xpath": "exists(f:code) or exists(f:display)" }, { "key": "vsd-9", "severity": "error", "human": "Must have a code if not abstract", "expression": "code.exists() or abstract = true", "xpath": "exists(f:code) or (f:abstract/@value = true())" }, { "key": "vsd-10", "severity": "error", "human": "Must have a system if a code is present", "expression": "code.empty() or system.exists()", "xpath": "exists(f:system) or not(exists(f:code))" } ] }, { "id": "ValueSet.expansion.contains.id", "path": "ValueSet.expansion.contains.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ValueSet.expansion.contains.extension", "path": "ValueSet.expansion.contains.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ValueSet.expansion.contains.modifierExtension", "path": "ValueSet.expansion.contains.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.expansion.contains.system", "path": "ValueSet.expansion.contains.system", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ValueSet.expansion.contains.abstract", "path": "ValueSet.expansion.contains.abstract", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "ValueSet.expansion.contains.inactive", "path": "ValueSet.expansion.contains.inactive", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "ValueSet.expansion.contains.version", "path": "ValueSet.expansion.contains.version", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ValueSet.expansion.contains.code", "path": "ValueSet.expansion.contains.code", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "vsd-6" ] }, { "id": "ValueSet.expansion.contains.display", "path": "ValueSet.expansion.contains.display", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "vsd-6" ] }, { "id": "ValueSet.expansion.contains.designation", "path": "ValueSet.expansion.contains.designation", "min": 0, "max": "*", "contentReference": "#ValueSet.compose.include.concept.designation" }, { "id": "ValueSet.expansion.contains.contains", "path": "ValueSet.expansion.contains.contains", "min": 0, "max": "*", "contentReference": "#ValueSet.expansion.contains" } ] }, "differential": { "element": [ { "id": "ValueSet", "path": "ValueSet", "min": 0, "max": "*", "constraint": [ { "key": "vsd-5", "severity": "error", "human": "Value set SHALL contain at least one of a a compose, or an expansion element", "expression": "compose.exists() or expansion.exists()", "xpath": "exists(f:compose) or exists(f:expansion)" } ] }, { "id": "ValueSet.url", "path": "ValueSet.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ValueSet.identifier", "path": "ValueSet.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ValueSet.version", "path": "ValueSet.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.name", "path": "ValueSet.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.title", "path": "ValueSet.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.status", "path": "ValueSet.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ValueSet.experimental", "path": "ValueSet.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ValueSet.publisher", "path": "ValueSet.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.contact", "path": "ValueSet.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ValueSet.date", "path": "ValueSet.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ValueSet.description", "path": "ValueSet.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ValueSet.useContext", "path": "ValueSet.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ValueSet.jurisdiction", "path": "ValueSet.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ValueSet.immutable", "path": "ValueSet.immutable", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ValueSet.purpose", "path": "ValueSet.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ValueSet.copyright", "path": "ValueSet.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ValueSet.extensible", "path": "ValueSet.extensible", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ValueSet.compose", "path": "ValueSet.compose", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "vsd-5" ] }, { "id": "ValueSet.compose.lockedDate", "path": "ValueSet.compose.lockedDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "ValueSet.compose.inactive", "path": "ValueSet.compose.inactive", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ValueSet.compose.include", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ConceptSet" } ], "path": "ValueSet.compose.include", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "vsd-2", "severity": "error", "human": "A value set with concepts or filters SHALL include a system", "expression": "(concept.exists() or filter.exists()) implies system.exists()", "xpath": "not(exists(f:concept) or exists(f:filter)) or exists(f:system)" }, { "key": "vsd-3", "severity": "error", "human": "Cannot have both concept and filter", "expression": "concept.empty() or filter.empty()", "xpath": "not(exists(f:concept)) or not(exists(f:filter))" }, { "key": "vsd-1", "severity": "error", "human": "A value set include/exclude SHALL have a value set or a system", "expression": "valueSet.exists() or system.exists()", "xpath": "exists(f:valueSet) or exists(f:system)" } ], "isSummary": true }, { "id": "ValueSet.compose.include.system", "path": "ValueSet.compose.include.system", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "condition": [ "vsd-1", "vsd-2" ], "isSummary": true }, { "id": "ValueSet.compose.include.version", "path": "ValueSet.compose.include.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ValueSet.compose.include.concept", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ConceptReference" } ], "path": "ValueSet.compose.include.concept", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "vsd-3" ] }, { "id": "ValueSet.compose.include.concept.code", "path": "ValueSet.compose.include.concept.code", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ValueSet.compose.include.concept.display", "path": "ValueSet.compose.include.concept.display", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.include.concept.designation", "path": "ValueSet.compose.include.concept.designation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ValueSet.compose.include.concept.designation.language", "path": "ValueSet.compose.include.concept.designation.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ValueSet.compose.include.concept.designation.use", "path": "ValueSet.compose.include.concept.designation.use", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Details of how a designation would be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/designation-use" } } }, { "id": "ValueSet.compose.include.concept.designation.value", "path": "ValueSet.compose.include.concept.designation.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ValueSet.compose.include.filter", "path": "ValueSet.compose.include.filter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "vsd-3" ] }, { "id": "ValueSet.compose.include.filter.property", "path": "ValueSet.compose.include.filter.property", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ValueSet.compose.include.filter.op", "path": "ValueSet.compose.include.filter.op", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "binding": { "strength": "required", "description": "The kind of operation to perform as a part of a property based filter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/filter-operator" } } }, { "id": "ValueSet.compose.include.filter.value", "path": "ValueSet.compose.include.filter.value", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ValueSet.compose.include.valueSet", "path": "ValueSet.compose.include.valueSet", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "condition": [ "vsd-1" ], "isSummary": true }, { "id": "ValueSet.compose.exclude", "path": "ValueSet.compose.exclude", "min": 0, "max": "*", "contentReference": "#ValueSet.compose.include", "condition": [ "vsd-2" ] }, { "id": "ValueSet.expansion", "path": "ValueSet.expansion", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "vsd-5" ] }, { "id": "ValueSet.expansion.identifier", "path": "ValueSet.expansion.identifier", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ValueSet.expansion.timestamp", "path": "ValueSet.expansion.timestamp", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ValueSet.expansion.total", "path": "ValueSet.expansion.total", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "ValueSet.expansion.offset", "path": "ValueSet.expansion.offset", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "meaningWhenMissing": "Paging is not being used" }, { "id": "ValueSet.expansion.parameter", "path": "ValueSet.expansion.parameter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ValueSet.expansion.parameter.name", "path": "ValueSet.expansion.parameter.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ValueSet.expansion.parameter.value[x]", "path": "ValueSet.expansion.parameter.value[x]", "min": 0, "max": "1", "type": [ { "code": "string" }, { "code": "boolean" }, { "code": "integer" }, { "code": "decimal" }, { "code": "uri" }, { "code": "code" } ] }, { "id": "ValueSet.expansion.contains", "path": "ValueSet.expansion.contains", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "vsd-6", "severity": "error", "human": "SHALL have a code or a display", "expression": "code.exists() or display.exists()", "xpath": "exists(f:code) or exists(f:display)" }, { "key": "vsd-9", "severity": "error", "human": "Must have a code if not abstract", "expression": "code.exists() or abstract = true", "xpath": "exists(f:code) or (f:abstract/@value = true())" }, { "key": "vsd-10", "severity": "error", "human": "Must have a system if a code is present", "expression": "code.empty() or system.exists()", "xpath": "exists(f:system) or not(exists(f:code))" } ] }, { "id": "ValueSet.expansion.contains.system", "path": "ValueSet.expansion.contains.system", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ValueSet.expansion.contains.abstract", "path": "ValueSet.expansion.contains.abstract", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "ValueSet.expansion.contains.inactive", "path": "ValueSet.expansion.contains.inactive", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "ValueSet.expansion.contains.version", "path": "ValueSet.expansion.contains.version", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ValueSet.expansion.contains.code", "path": "ValueSet.expansion.contains.code", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "vsd-6" ] }, { "id": "ValueSet.expansion.contains.display", "path": "ValueSet.expansion.contains.display", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "vsd-6" ] }, { "id": "ValueSet.expansion.contains.designation", "path": "ValueSet.expansion.contains.designation", "min": 0, "max": "*", "contentReference": "#ValueSet.compose.include.concept.designation" }, { "id": "ValueSet.expansion.contains.contains", "path": "ValueSet.expansion.contains.contains", "min": 0, "max": "*", "contentReference": "#ValueSet.expansion.contains" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DomainResource", "resource": { "resourceType": "StructureDefinition", "id": "DomainResource", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" } ], "url": "http://hl7.org/fhir/StructureDefinition/DomainResource", "name": "DomainResource", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": true, "type": "DomainResource", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Resource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DomainResource", "path": "DomainResource", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" } ] }, { "id": "DomainResource.id", "path": "DomainResource.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DomainResource.meta", "path": "DomainResource.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DomainResource.implicitRules", "path": "DomainResource.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DomainResource.language", "path": "DomainResource.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DomainResource.text", "path": "DomainResource.text", "min": 0, "max": "1", "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DomainResource.contained", "path": "DomainResource.contained", "min": 0, "max": "*", "type": [ { "code": "Resource" } ] }, { "id": "DomainResource.extension", "path": "DomainResource.extension", "min": 0, "max": "*", "type": [ { "code": "Extension" } ] }, { "id": "DomainResource.modifierExtension", "path": "DomainResource.modifierExtension", "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": true } ] }, "differential": { "element": [ { "id": "DomainResource", "path": "DomainResource", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" } ] }, { "id": "DomainResource.text", "path": "DomainResource.text", "min": 0, "max": "1", "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DomainResource.contained", "path": "DomainResource.contained", "min": 0, "max": "*", "type": [ { "code": "Resource" } ] }, { "id": "DomainResource.extension", "path": "DomainResource.extension", "min": 0, "max": "*", "type": [ { "code": "Extension" } ] }, { "id": "DomainResource.modifierExtension", "path": "DomainResource.modifierExtension", "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Parameters", "resource": { "resourceType": "StructureDefinition", "id": "Parameters", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" } ], "url": "http://hl7.org/fhir/StructureDefinition/Parameters", "name": "Parameters", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Parameters", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Resource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Parameters", "path": "Parameters", "min": 0, "max": "*" }, { "id": "Parameters.id", "path": "Parameters.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Parameters.meta", "path": "Parameters.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Parameters.implicitRules", "path": "Parameters.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Parameters.language", "path": "Parameters.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Parameters.parameter", "path": "Parameters.parameter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-1", "severity": "error", "human": "A parameter must have only one of (value, resource, part)", "expression": "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))", "xpath": "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))" } ] }, { "id": "Parameters.parameter.id", "path": "Parameters.parameter.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Parameters.parameter.extension", "path": "Parameters.parameter.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Parameters.parameter.modifierExtension", "path": "Parameters.parameter.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Parameters.parameter.name", "path": "Parameters.parameter.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Parameters.parameter.value[x]", "path": "Parameters.parameter.value[x]", "min": 0, "max": "1", "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "Meta" } ], "condition": [ "inv-1" ] }, { "id": "Parameters.parameter.resource", "path": "Parameters.parameter.resource", "min": 0, "max": "1", "type": [ { "code": "Resource" } ], "condition": [ "inv-1" ] }, { "id": "Parameters.parameter.part", "path": "Parameters.parameter.part", "min": 0, "max": "*", "contentReference": "#Parameters.parameter" } ] }, "differential": { "element": [ { "id": "Parameters", "path": "Parameters", "min": 0, "max": "*" }, { "id": "Parameters.parameter", "path": "Parameters.parameter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-1", "severity": "error", "human": "A parameter must have only one of (value, resource, part)", "expression": "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))", "xpath": "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))" } ] }, { "id": "Parameters.parameter.name", "path": "Parameters.parameter.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Parameters.parameter.value[x]", "path": "Parameters.parameter.value[x]", "min": 0, "max": "1", "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "Meta" } ], "condition": [ "inv-1" ] }, { "id": "Parameters.parameter.resource", "path": "Parameters.parameter.resource", "min": 0, "max": "1", "type": [ { "code": "Resource" } ], "condition": [ "inv-1" ] }, { "id": "Parameters.parameter.part", "path": "Parameters.parameter.part", "min": 0, "max": "*", "contentReference": "#Parameters.parameter" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Resource", "resource": { "resourceType": "StructureDefinition", "id": "Resource", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" } ], "url": "http://hl7.org/fhir/StructureDefinition/Resource", "name": "Resource", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": true, "type": "Resource", "snapshot": { "element": [ { "id": "Resource", "path": "Resource", "min": 0, "max": "*" }, { "id": "Resource.id", "path": "Resource.id", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Resource.meta", "path": "Resource.meta", "min": 0, "max": "1", "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Resource.implicitRules", "path": "Resource.implicitRules", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Resource.language", "path": "Resource.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } } ] }, "differential": { "element": [ { "id": "Resource", "path": "Resource", "min": 0, "max": "*" }, { "id": "Resource.id", "path": "Resource.id", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Resource.meta", "path": "Resource.meta", "min": 0, "max": "1", "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Resource.implicitRules", "path": "Resource.implicitRules", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Resource.language", "path": "Resource.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Account", "resource": { "resourceType": "StructureDefinition", "id": "Account", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Patient Management" } ], "url": "http://hl7.org/fhir/StructureDefinition/Account", "name": "Account", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Account", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Account", "path": "Account", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Account.id", "path": "Account.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Account.meta", "path": "Account.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Account.implicitRules", "path": "Account.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Account.language", "path": "Account.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Account.text", "path": "Account.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Account.contained", "path": "Account.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Account.extension", "path": "Account.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Account.modifierExtension", "path": "Account.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Account.identifier", "path": "Account.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Account.name", "path": "Account.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Account.type", "path": "Account.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The usage type of this account, permits categorization of accounts." } }, { "id": "Account.status", "path": "Account.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the account is available to be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/account-status" } } }, { "id": "Account.active", "path": "Account.active", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Account.currency", "path": "Account.currency", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "The monetary currency in which this account records values.", "valueSetUri": "http://www.iso.org/iso/home/standards/currency_codes" } }, { "id": "Account.balance", "path": "Account.balance", "min": 0, "max": "1", "type": [ { "code": "Money" } ], "isSummary": true }, { "id": "Account.coverage", "path": "Account.coverage", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ], "isSummary": true }, { "id": "Account.coveragePeriod", "path": "Account.coveragePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Account.subject", "path": "Account.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Account.owner", "path": "Account.owner", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Account.description", "path": "Account.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Account.guarantor", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Guarantor" } ], "path": "Account.guarantor", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Account.guarantor.id", "path": "Account.guarantor.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Account.guarantor.extension", "path": "Account.guarantor.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Account.guarantor.modifierExtension", "path": "Account.guarantor.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Account.guarantor.party", "path": "Account.guarantor.party", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Account.guarantor.onHold", "path": "Account.guarantor.onHold", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "Account.guarantor.period", "path": "Account.guarantor.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "Account", "path": "Account", "min": 0, "max": "*" }, { "id": "Account.identifier", "path": "Account.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Account.name", "path": "Account.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Account.type", "path": "Account.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The usage type of this account, permits categorization of accounts." } }, { "id": "Account.status", "path": "Account.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the account is available to be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/account-status" } } }, { "id": "Account.active", "path": "Account.active", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Account.currency", "path": "Account.currency", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "The monetary currency in which this account records values.", "valueSetUri": "http://www.iso.org/iso/home/standards/currency_codes" } }, { "id": "Account.balance", "path": "Account.balance", "min": 0, "max": "1", "type": [ { "code": "Money" } ], "isSummary": true }, { "id": "Account.coverage", "path": "Account.coverage", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ], "isSummary": true }, { "id": "Account.coveragePeriod", "path": "Account.coveragePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Account.subject", "path": "Account.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Account.owner", "path": "Account.owner", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Account.description", "path": "Account.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Account.guarantor", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Guarantor" } ], "path": "Account.guarantor", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Account.guarantor.party", "path": "Account.guarantor.party", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Account.guarantor.onHold", "path": "Account.guarantor.onHold", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "Account.guarantor.period", "path": "Account.guarantor.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "resource": { "resourceType": "StructureDefinition", "id": "ActivityDefinition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical Reasoning" } ], "url": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "name": "ActivityDefinition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ActivityDefinition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "ActivityDefinition", "path": "ActivityDefinition", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ActivityDefinition.id", "path": "ActivityDefinition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ActivityDefinition.meta", "path": "ActivityDefinition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ActivityDefinition.implicitRules", "path": "ActivityDefinition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ActivityDefinition.language", "path": "ActivityDefinition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ActivityDefinition.text", "path": "ActivityDefinition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ActivityDefinition.contained", "path": "ActivityDefinition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ActivityDefinition.extension", "path": "ActivityDefinition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ActivityDefinition.modifierExtension", "path": "ActivityDefinition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ActivityDefinition.url", "path": "ActivityDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ActivityDefinition.identifier", "path": "ActivityDefinition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ActivityDefinition.version", "path": "ActivityDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ActivityDefinition.name", "path": "ActivityDefinition.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ActivityDefinition.title", "path": "ActivityDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ActivityDefinition.status", "path": "ActivityDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ActivityDefinition.experimental", "path": "ActivityDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ActivityDefinition.date", "path": "ActivityDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ActivityDefinition.description", "path": "ActivityDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ActivityDefinition.purpose", "path": "ActivityDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ActivityDefinition.usage", "path": "ActivityDefinition.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.approvalDate", "path": "ActivityDefinition.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ActivityDefinition.lastReviewDate", "path": "ActivityDefinition.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ActivityDefinition.effectivePeriod", "path": "ActivityDefinition.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "ActivityDefinition.useContext", "path": "ActivityDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ActivityDefinition.jurisdiction", "path": "ActivityDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ActivityDefinition.topic", "path": "ActivityDefinition.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "ActivityDefinition.contributor", "path": "ActivityDefinition.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "ActivityDefinition.publisher", "path": "ActivityDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ActivityDefinition.contact", "path": "ActivityDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ActivityDefinition.copyright", "path": "ActivityDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ActivityDefinition.relatedArtifact", "path": "ActivityDefinition.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "ActivityDefinition.library", "path": "ActivityDefinition.library", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Library" } ] }, { "id": "ActivityDefinition.category", "path": "ActivityDefinition.category", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "High-level categorization of the type of activity in a protocol.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/activity-definition-category" } } }, { "id": "ActivityDefinition.code", "path": "ActivityDefinition.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed type of planned activity; e.g. CBC" } }, { "id": "ActivityDefinition.timing[x]", "path": "ActivityDefinition.timing[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Timing" } ], "binding": { "strength": "example", "description": "Code describing the timing of an activity; e.g. BID, QD" } }, { "id": "ActivityDefinition.location", "path": "ActivityDefinition.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "ActivityDefinition.participantType", "path": "ActivityDefinition.participantType", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of participant for an action in the orderset", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-participant-type" } } }, { "id": "ActivityDefinition.product[x]", "path": "ActivityDefinition.product[x]", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" }, { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Code describing the type of substance or medication" } }, { "id": "ActivityDefinition.quantity", "path": "ActivityDefinition.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "ActivityDefinition.dosageInstruction", "path": "ActivityDefinition.dosageInstruction", "min": 0, "max": "*", "type": [ { "code": "DosageInstruction" } ] }, { "id": "ActivityDefinition.bodySite", "path": "ActivityDefinition.bodySite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A code that identifies the anatomical location.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "ActivityDefinition.transform", "path": "ActivityDefinition.transform", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureMap" } ] }, { "id": "ActivityDefinition.dynamicValue", "path": "ActivityDefinition.dynamicValue", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ActivityDefinition.dynamicValue.id", "path": "ActivityDefinition.dynamicValue.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.dynamicValue.extension", "path": "ActivityDefinition.dynamicValue.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ActivityDefinition.dynamicValue.modifierExtension", "path": "ActivityDefinition.dynamicValue.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ActivityDefinition.dynamicValue.description", "path": "ActivityDefinition.dynamicValue.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.dynamicValue.path", "path": "ActivityDefinition.dynamicValue.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.dynamicValue.language", "path": "ActivityDefinition.dynamicValue.language", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.dynamicValue.expression", "path": "ActivityDefinition.dynamicValue.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "ActivityDefinition", "path": "ActivityDefinition", "min": 0, "max": "*" }, { "id": "ActivityDefinition.url", "path": "ActivityDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ActivityDefinition.identifier", "path": "ActivityDefinition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ActivityDefinition.version", "path": "ActivityDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ActivityDefinition.name", "path": "ActivityDefinition.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ActivityDefinition.title", "path": "ActivityDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ActivityDefinition.status", "path": "ActivityDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ActivityDefinition.experimental", "path": "ActivityDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ActivityDefinition.date", "path": "ActivityDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ActivityDefinition.description", "path": "ActivityDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ActivityDefinition.purpose", "path": "ActivityDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ActivityDefinition.usage", "path": "ActivityDefinition.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.approvalDate", "path": "ActivityDefinition.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ActivityDefinition.lastReviewDate", "path": "ActivityDefinition.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ActivityDefinition.effectivePeriod", "path": "ActivityDefinition.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "ActivityDefinition.useContext", "path": "ActivityDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ActivityDefinition.jurisdiction", "path": "ActivityDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ActivityDefinition.topic", "path": "ActivityDefinition.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "ActivityDefinition.contributor", "path": "ActivityDefinition.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "ActivityDefinition.publisher", "path": "ActivityDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ActivityDefinition.contact", "path": "ActivityDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ActivityDefinition.copyright", "path": "ActivityDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ActivityDefinition.relatedArtifact", "path": "ActivityDefinition.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "ActivityDefinition.library", "path": "ActivityDefinition.library", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Library" } ] }, { "id": "ActivityDefinition.category", "path": "ActivityDefinition.category", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "High-level categorization of the type of activity in a protocol.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/activity-definition-category" } } }, { "id": "ActivityDefinition.code", "path": "ActivityDefinition.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed type of planned activity; e.g. CBC" } }, { "id": "ActivityDefinition.timing[x]", "path": "ActivityDefinition.timing[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Timing" } ], "binding": { "strength": "example", "description": "Code describing the timing of an activity; e.g. BID, QD" } }, { "id": "ActivityDefinition.location", "path": "ActivityDefinition.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "ActivityDefinition.participantType", "path": "ActivityDefinition.participantType", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of participant for an action in the orderset", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-participant-type" } } }, { "id": "ActivityDefinition.product[x]", "path": "ActivityDefinition.product[x]", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" }, { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Code describing the type of substance or medication" } }, { "id": "ActivityDefinition.quantity", "path": "ActivityDefinition.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "ActivityDefinition.dosageInstruction", "path": "ActivityDefinition.dosageInstruction", "min": 0, "max": "*", "type": [ { "code": "DosageInstruction" } ] }, { "id": "ActivityDefinition.bodySite", "path": "ActivityDefinition.bodySite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A code that identifies the anatomical location.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "ActivityDefinition.transform", "path": "ActivityDefinition.transform", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureMap" } ] }, { "id": "ActivityDefinition.dynamicValue", "path": "ActivityDefinition.dynamicValue", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ActivityDefinition.dynamicValue.description", "path": "ActivityDefinition.dynamicValue.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.dynamicValue.path", "path": "ActivityDefinition.dynamicValue.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.dynamicValue.language", "path": "ActivityDefinition.dynamicValue.language", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ActivityDefinition.dynamicValue.expression", "path": "ActivityDefinition.dynamicValue.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance", "resource": { "resourceType": "StructureDefinition", "id": "AllergyIntolerance", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/General" } ], "url": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance", "name": "AllergyIntolerance", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "AllergyIntolerance", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "AllergyIntolerance", "path": "AllergyIntolerance", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "ait-1", "severity": "error", "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" }, { "key": "ait-2", "severity": "error", "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" } ] }, { "id": "AllergyIntolerance.id", "path": "AllergyIntolerance.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "AllergyIntolerance.meta", "path": "AllergyIntolerance.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "AllergyIntolerance.implicitRules", "path": "AllergyIntolerance.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "AllergyIntolerance.language", "path": "AllergyIntolerance.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "AllergyIntolerance.text", "path": "AllergyIntolerance.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "AllergyIntolerance.contained", "path": "AllergyIntolerance.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "AllergyIntolerance.extension", "path": "AllergyIntolerance.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AllergyIntolerance.modifierExtension", "path": "AllergyIntolerance.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "AllergyIntolerance.identifier", "path": "AllergyIntolerance.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AllergyIntolerance.clinicalStatus", "path": "AllergyIntolerance.clinicalStatus", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The clinical status of the allergy or intolerance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" } } }, { "id": "AllergyIntolerance.verificationStatus", "path": "AllergyIntolerance.verificationStatus", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" } } }, { "id": "AllergyIntolerance.type", "path": "AllergyIntolerance.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" } } }, { "id": "AllergyIntolerance.category", "path": "AllergyIntolerance.category", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Category of an identified substance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" } } }, { "id": "AllergyIntolerance.criticality", "path": "AllergyIntolerance.criticality", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" } } }, { "id": "AllergyIntolerance.code", "path": "AllergyIntolerance.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergyintolerance-code" } } }, { "id": "AllergyIntolerance.patient", "path": "AllergyIntolerance.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "AllergyIntolerance.onset[x]", "path": "AllergyIntolerance.onset[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Age" }, { "code": "Period" }, { "code": "Range" }, { "code": "string" } ] }, { "id": "AllergyIntolerance.assertedDate", "path": "AllergyIntolerance.assertedDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "AllergyIntolerance.recorder", "path": "AllergyIntolerance.recorder", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "AllergyIntolerance.asserter", "path": "AllergyIntolerance.asserter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "AllergyIntolerance.lastOccurrence", "path": "AllergyIntolerance.lastOccurrence", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "AllergyIntolerance.note", "path": "AllergyIntolerance.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "AllergyIntolerance.reaction", "path": "AllergyIntolerance.reaction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "AllergyIntolerance.reaction.id", "path": "AllergyIntolerance.reaction.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "AllergyIntolerance.reaction.extension", "path": "AllergyIntolerance.reaction.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AllergyIntolerance.reaction.modifierExtension", "path": "AllergyIntolerance.reaction.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "AllergyIntolerance.reaction.substance", "path": "AllergyIntolerance.reaction.substance", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes defining the type of the substance (including pharmaceutical products).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-code" } } }, { "id": "AllergyIntolerance.reaction.certainty", "path": "AllergyIntolerance.reaction.certainty", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" } } }, { "id": "AllergyIntolerance.reaction.manifestation", "path": "AllergyIntolerance.reaction.manifestation", "min": 1, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" } } }, { "id": "AllergyIntolerance.reaction.description", "path": "AllergyIntolerance.reaction.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AllergyIntolerance.reaction.onset", "path": "AllergyIntolerance.reaction.onset", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "AllergyIntolerance.reaction.severity", "path": "AllergyIntolerance.reaction.severity", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" } } }, { "id": "AllergyIntolerance.reaction.exposureRoute", "path": "AllergyIntolerance.reaction.exposureRoute", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/route-codes" } } }, { "id": "AllergyIntolerance.reaction.note", "path": "AllergyIntolerance.reaction.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] }, "differential": { "element": [ { "id": "AllergyIntolerance", "path": "AllergyIntolerance", "min": 0, "max": "*", "constraint": [ { "key": "ait-1", "severity": "error", "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" }, { "key": "ait-2", "severity": "error", "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" } ] }, { "id": "AllergyIntolerance.identifier", "path": "AllergyIntolerance.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AllergyIntolerance.clinicalStatus", "path": "AllergyIntolerance.clinicalStatus", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The clinical status of the allergy or intolerance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" } } }, { "id": "AllergyIntolerance.verificationStatus", "path": "AllergyIntolerance.verificationStatus", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" } } }, { "id": "AllergyIntolerance.type", "path": "AllergyIntolerance.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" } } }, { "id": "AllergyIntolerance.category", "path": "AllergyIntolerance.category", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Category of an identified substance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" } } }, { "id": "AllergyIntolerance.criticality", "path": "AllergyIntolerance.criticality", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" } } }, { "id": "AllergyIntolerance.code", "path": "AllergyIntolerance.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allergyintolerance-code" } } }, { "id": "AllergyIntolerance.patient", "path": "AllergyIntolerance.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "AllergyIntolerance.onset[x]", "path": "AllergyIntolerance.onset[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Age" }, { "code": "Period" }, { "code": "Range" }, { "code": "string" } ] }, { "id": "AllergyIntolerance.assertedDate", "path": "AllergyIntolerance.assertedDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "AllergyIntolerance.recorder", "path": "AllergyIntolerance.recorder", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "AllergyIntolerance.asserter", "path": "AllergyIntolerance.asserter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "AllergyIntolerance.lastOccurrence", "path": "AllergyIntolerance.lastOccurrence", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "AllergyIntolerance.note", "path": "AllergyIntolerance.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "AllergyIntolerance.reaction", "path": "AllergyIntolerance.reaction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "AllergyIntolerance.reaction.substance", "path": "AllergyIntolerance.reaction.substance", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes defining the type of the substance (including pharmaceutical products).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-code" } } }, { "id": "AllergyIntolerance.reaction.certainty", "path": "AllergyIntolerance.reaction.certainty", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" } } }, { "id": "AllergyIntolerance.reaction.manifestation", "path": "AllergyIntolerance.reaction.manifestation", "min": 1, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" } } }, { "id": "AllergyIntolerance.reaction.description", "path": "AllergyIntolerance.reaction.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AllergyIntolerance.reaction.onset", "path": "AllergyIntolerance.reaction.onset", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "AllergyIntolerance.reaction.severity", "path": "AllergyIntolerance.reaction.severity", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" } } }, { "id": "AllergyIntolerance.reaction.exposureRoute", "path": "AllergyIntolerance.reaction.exposureRoute", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/route-codes" } } }, { "id": "AllergyIntolerance.reaction.note", "path": "AllergyIntolerance.reaction.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Appointment", "resource": { "resourceType": "StructureDefinition", "id": "Appointment", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Scheduling" } ], "url": "http://hl7.org/fhir/StructureDefinition/Appointment", "name": "Appointment", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Appointment", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Appointment", "path": "Appointment", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "app-3", "severity": "error", "human": "Only proposed or cancelled appointments can be missing start/end dates", "expression": "(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled'))", "xpath": "((exists(f:start) and exists(f:end)) or (f:status/@value='proposed') or (f:status/@value='cancelled'))" }, { "key": "app-2", "severity": "error", "human": "Either start and end are specified, or neither", "expression": "start.empty() xor end.exists()", "xpath": "((exists(f:start) and exists(f:end)) or (not(exists(f:start)) and not(exists(f:end))))" } ] }, { "id": "Appointment.id", "path": "Appointment.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Appointment.meta", "path": "Appointment.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Appointment.implicitRules", "path": "Appointment.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Appointment.language", "path": "Appointment.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Appointment.text", "path": "Appointment.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Appointment.contained", "path": "Appointment.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Appointment.extension", "path": "Appointment.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Appointment.modifierExtension", "path": "Appointment.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Appointment.identifier", "path": "Appointment.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Appointment.status", "path": "Appointment.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The free/busy status of an appointment.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/appointmentstatus" } } }, { "id": "Appointment.serviceCategory", "path": "Appointment.serviceCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-category" } } }, { "id": "Appointment.serviceType", "path": "Appointment.serviceType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-type" } } }, { "id": "Appointment.specialty", "path": "Appointment.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "Appointment.appointmentType", "path": "Appointment.appointmentType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0276" } } }, { "id": "Appointment.reason", "path": "Appointment.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "The Reason for the appointment to take place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-reason" } } }, { "id": "Appointment.priority", "path": "Appointment.priority", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ] }, { "id": "Appointment.description", "path": "Appointment.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Appointment.start", "path": "Appointment.start", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Appointment.end", "path": "Appointment.end", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Appointment.minutesDuration", "path": "Appointment.minutesDuration", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Appointment.slot", "path": "Appointment.slot", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Slot" } ] }, { "id": "Appointment.created", "path": "Appointment.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Appointment.comment", "path": "Appointment.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Appointment.participant", "path": "Appointment.participant", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "app-1", "severity": "error", "human": "Either the type or actor on the participant MUST be specified", "expression": "type.exists() or actor.exists()", "xpath": "(exists(f:type) or exists(f:actor))" } ] }, { "id": "Appointment.participant.id", "path": "Appointment.participant.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Appointment.participant.extension", "path": "Appointment.participant.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Appointment.participant.modifierExtension", "path": "Appointment.participant.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Appointment.participant.type", "path": "Appointment.participant.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Role of participant in encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type" } } }, { "id": "Appointment.participant.actor", "path": "Appointment.participant.actor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "Appointment.participant.required", "path": "Appointment.participant.required", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Is the Participant required to attend the appointment.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participantrequired" } } }, { "id": "Appointment.participant.status", "path": "Appointment.participant.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The Participation status of an appointment.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participationstatus" } } }, { "id": "Appointment.requestedPeriod", "path": "Appointment.requestedPeriod", "min": 0, "max": "*", "type": [ { "code": "Period" } ] } ] }, "differential": { "element": [ { "id": "Appointment", "path": "Appointment", "min": 0, "max": "*", "constraint": [ { "key": "app-3", "severity": "error", "human": "Only proposed or cancelled appointments can be missing start/end dates", "expression": "(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled'))", "xpath": "((exists(f:start) and exists(f:end)) or (f:status/@value='proposed') or (f:status/@value='cancelled'))" }, { "key": "app-2", "severity": "error", "human": "Either start and end are specified, or neither", "expression": "start.empty() xor end.exists()", "xpath": "((exists(f:start) and exists(f:end)) or (not(exists(f:start)) and not(exists(f:end))))" } ] }, { "id": "Appointment.identifier", "path": "Appointment.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Appointment.status", "path": "Appointment.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The free/busy status of an appointment.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/appointmentstatus" } } }, { "id": "Appointment.serviceCategory", "path": "Appointment.serviceCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-category" } } }, { "id": "Appointment.serviceType", "path": "Appointment.serviceType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-type" } } }, { "id": "Appointment.specialty", "path": "Appointment.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "Appointment.appointmentType", "path": "Appointment.appointmentType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0276" } } }, { "id": "Appointment.reason", "path": "Appointment.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "The Reason for the appointment to take place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-reason" } } }, { "id": "Appointment.priority", "path": "Appointment.priority", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ] }, { "id": "Appointment.description", "path": "Appointment.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Appointment.start", "path": "Appointment.start", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Appointment.end", "path": "Appointment.end", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Appointment.minutesDuration", "path": "Appointment.minutesDuration", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Appointment.slot", "path": "Appointment.slot", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Slot" } ] }, { "id": "Appointment.created", "path": "Appointment.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Appointment.comment", "path": "Appointment.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Appointment.participant", "path": "Appointment.participant", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "app-1", "severity": "error", "human": "Either the type or actor on the participant MUST be specified", "expression": "type.exists() or actor.exists()", "xpath": "(exists(f:type) or exists(f:actor))" } ] }, { "id": "Appointment.participant.type", "path": "Appointment.participant.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Role of participant in encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type" } } }, { "id": "Appointment.participant.actor", "path": "Appointment.participant.actor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "Appointment.participant.required", "path": "Appointment.participant.required", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Is the Participant required to attend the appointment.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participantrequired" } } }, { "id": "Appointment.participant.status", "path": "Appointment.participant.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The Participation status of an appointment.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participationstatus" } } }, { "id": "Appointment.requestedPeriod", "path": "Appointment.requestedPeriod", "min": 0, "max": "*", "type": [ { "code": "Period" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/AppointmentResponse", "resource": { "resourceType": "StructureDefinition", "id": "AppointmentResponse", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Scheduling" } ], "url": "http://hl7.org/fhir/StructureDefinition/AppointmentResponse", "name": "AppointmentResponse", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "AppointmentResponse", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "AppointmentResponse", "path": "AppointmentResponse", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "apr-1", "severity": "error", "human": "Either the participantType or actor must be specified", "expression": "participantType.exists() or actor.exists()", "xpath": "(exists(f:participantType) or exists(f:actor))" } ] }, { "id": "AppointmentResponse.id", "path": "AppointmentResponse.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "AppointmentResponse.meta", "path": "AppointmentResponse.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "AppointmentResponse.implicitRules", "path": "AppointmentResponse.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "AppointmentResponse.language", "path": "AppointmentResponse.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "AppointmentResponse.text", "path": "AppointmentResponse.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "AppointmentResponse.contained", "path": "AppointmentResponse.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "AppointmentResponse.extension", "path": "AppointmentResponse.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AppointmentResponse.modifierExtension", "path": "AppointmentResponse.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "AppointmentResponse.identifier", "path": "AppointmentResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AppointmentResponse.appointment", "path": "AppointmentResponse.appointment", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" } ], "isSummary": true }, { "id": "AppointmentResponse.start", "path": "AppointmentResponse.start", "min": 0, "max": "1", "type": [ { "code": "instant" } ] }, { "id": "AppointmentResponse.end", "path": "AppointmentResponse.end", "min": 0, "max": "1", "type": [ { "code": "instant" } ] }, { "id": "AppointmentResponse.participantType", "path": "AppointmentResponse.participantType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Role of participant in encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type" } } }, { "id": "AppointmentResponse.actor", "path": "AppointmentResponse.actor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "AppointmentResponse.participantStatus", "path": "AppointmentResponse.participantStatus", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The Participation status of an appointment.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participationstatus" } } }, { "id": "AppointmentResponse.comment", "path": "AppointmentResponse.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "AppointmentResponse", "path": "AppointmentResponse", "min": 0, "max": "*", "constraint": [ { "key": "apr-1", "severity": "error", "human": "Either the participantType or actor must be specified", "expression": "participantType.exists() or actor.exists()", "xpath": "(exists(f:participantType) or exists(f:actor))" } ] }, { "id": "AppointmentResponse.identifier", "path": "AppointmentResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AppointmentResponse.appointment", "path": "AppointmentResponse.appointment", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" } ], "isSummary": true }, { "id": "AppointmentResponse.start", "path": "AppointmentResponse.start", "min": 0, "max": "1", "type": [ { "code": "instant" } ] }, { "id": "AppointmentResponse.end", "path": "AppointmentResponse.end", "min": 0, "max": "1", "type": [ { "code": "instant" } ] }, { "id": "AppointmentResponse.participantType", "path": "AppointmentResponse.participantType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Role of participant in encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type" } } }, { "id": "AppointmentResponse.actor", "path": "AppointmentResponse.actor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "AppointmentResponse.participantStatus", "path": "AppointmentResponse.participantStatus", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The Participation status of an appointment.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participationstatus" } } }, { "id": "AppointmentResponse.comment", "path": "AppointmentResponse.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/AuditEvent", "resource": { "resourceType": "StructureDefinition", "id": "AuditEvent", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "sec" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Security & Privacy" } ], "url": "http://hl7.org/fhir/StructureDefinition/AuditEvent", "name": "AuditEvent", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "AuditEvent", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "AuditEvent", "path": "AuditEvent", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "AuditEvent.id", "path": "AuditEvent.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "AuditEvent.meta", "path": "AuditEvent.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "AuditEvent.implicitRules", "path": "AuditEvent.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "AuditEvent.language", "path": "AuditEvent.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "AuditEvent.text", "path": "AuditEvent.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "AuditEvent.contained", "path": "AuditEvent.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "AuditEvent.extension", "path": "AuditEvent.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AuditEvent.modifierExtension", "path": "AuditEvent.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "AuditEvent.type", "path": "AuditEvent.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Type of event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-event-type" } } }, { "id": "AuditEvent.subtype", "path": "AuditEvent.subtype", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Sub-type of event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-event-sub-type" } } }, { "id": "AuditEvent.action", "path": "AuditEvent.action", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicator for type of action performed during the event that generated the audit.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-event-action" } } }, { "id": "AuditEvent.recorded", "path": "AuditEvent.recorded", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "AuditEvent.outcome", "path": "AuditEvent.outcome", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the event succeeded or failed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-event-outcome" } } }, { "id": "AuditEvent.outcomeDesc", "path": "AuditEvent.outcomeDesc", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "AuditEvent.purposeOfEvent", "path": "AuditEvent.purposeOfEvent", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The reason the activity took place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "AuditEvent.agent", "path": "AuditEvent.agent", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "AuditEvent.agent.id", "path": "AuditEvent.agent.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "AuditEvent.agent.extension", "path": "AuditEvent.agent.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AuditEvent.agent.modifierExtension", "path": "AuditEvent.agent.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "AuditEvent.agent.role", "path": "AuditEvent.agent.role", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "How the agent participated in the event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dicm-402-roleid" } } }, { "id": "AuditEvent.agent.reference", "path": "AuditEvent.agent.reference", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "AuditEvent.agent.userId", "path": "AuditEvent.agent.userId", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AuditEvent.agent.altId", "path": "AuditEvent.agent.altId", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.agent.name", "path": "AuditEvent.agent.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.agent.requestor", "path": "AuditEvent.agent.requestor", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "AuditEvent.agent.location", "path": "AuditEvent.agent.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "AuditEvent.agent.policy", "path": "AuditEvent.agent.policy", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "AuditEvent.agent.media", "path": "AuditEvent.agent.media", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Used when the event is about exporting/importing onto media.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dicm-405-mediatype" } } }, { "id": "AuditEvent.agent.network", "path": "AuditEvent.agent.network", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "AuditEvent.agent.network.id", "path": "AuditEvent.agent.network.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "AuditEvent.agent.network.extension", "path": "AuditEvent.agent.network.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AuditEvent.agent.network.modifierExtension", "path": "AuditEvent.agent.network.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "AuditEvent.agent.network.address", "path": "AuditEvent.agent.network.address", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.agent.network.type", "path": "AuditEvent.agent.network.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of network access point of this agent in the audit event", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/network-type" } } }, { "id": "AuditEvent.agent.purposeOfUse", "path": "AuditEvent.agent.purposeOfUse", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The reason the activity took place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "AuditEvent.source", "path": "AuditEvent.source", "min": 1, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "AuditEvent.source.id", "path": "AuditEvent.source.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "AuditEvent.source.extension", "path": "AuditEvent.source.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AuditEvent.source.modifierExtension", "path": "AuditEvent.source.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "AuditEvent.source.site", "path": "AuditEvent.source.site", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.source.identifier", "path": "AuditEvent.source.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AuditEvent.source.type", "path": "AuditEvent.source.type", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Code specifying the type of system that detected and recorded the event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-source-type" } } }, { "id": "AuditEvent.entity", "path": "AuditEvent.entity", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "sev-1", "severity": "error", "human": "Either a name or a query (NOT both)", "expression": "name.empty() or query.empty()", "xpath": "not(exists(f:name)) or not(exists(f:query))" } ] }, { "id": "AuditEvent.entity.id", "path": "AuditEvent.entity.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "AuditEvent.entity.extension", "path": "AuditEvent.entity.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AuditEvent.entity.modifierExtension", "path": "AuditEvent.entity.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "AuditEvent.entity.identifier", "path": "AuditEvent.entity.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AuditEvent.entity.reference", "path": "AuditEvent.entity.reference", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "AuditEvent.entity.type", "path": "AuditEvent.entity.type", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Code for the entity type involved audited.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/object-type" } } }, { "id": "AuditEvent.entity.role", "path": "AuditEvent.entity.role", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Code representing the role the entity played in the event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/object-role" } } }, { "id": "AuditEvent.entity.lifecycle", "path": "AuditEvent.entity.lifecycle", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Identifier for the data life-cycle stage for the entity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/object-lifecycle" } } }, { "id": "AuditEvent.entity.securityLabel", "path": "AuditEvent.entity.securityLabel", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/security-labels" } } }, { "id": "AuditEvent.entity.name", "path": "AuditEvent.entity.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "sev-1" ], "isSummary": true }, { "id": "AuditEvent.entity.description", "path": "AuditEvent.entity.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.entity.query", "path": "AuditEvent.entity.query", "min": 0, "max": "1", "type": [ { "code": "base64Binary" } ], "condition": [ "sev-1" ], "isSummary": true }, { "id": "AuditEvent.entity.detail", "path": "AuditEvent.entity.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "AuditEvent.entity.detail.id", "path": "AuditEvent.entity.detail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "AuditEvent.entity.detail.extension", "path": "AuditEvent.entity.detail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "AuditEvent.entity.detail.modifierExtension", "path": "AuditEvent.entity.detail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "AuditEvent.entity.detail.type", "path": "AuditEvent.entity.detail.type", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.entity.detail.value", "path": "AuditEvent.entity.detail.value", "min": 1, "max": "1", "type": [ { "code": "base64Binary" } ] } ] }, "differential": { "element": [ { "id": "AuditEvent", "path": "AuditEvent", "min": 0, "max": "*" }, { "id": "AuditEvent.type", "path": "AuditEvent.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Type of event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-event-type" } } }, { "id": "AuditEvent.subtype", "path": "AuditEvent.subtype", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Sub-type of event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-event-sub-type" } } }, { "id": "AuditEvent.action", "path": "AuditEvent.action", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicator for type of action performed during the event that generated the audit.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-event-action" } } }, { "id": "AuditEvent.recorded", "path": "AuditEvent.recorded", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "AuditEvent.outcome", "path": "AuditEvent.outcome", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the event succeeded or failed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-event-outcome" } } }, { "id": "AuditEvent.outcomeDesc", "path": "AuditEvent.outcomeDesc", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "AuditEvent.purposeOfEvent", "path": "AuditEvent.purposeOfEvent", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The reason the activity took place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "AuditEvent.agent", "path": "AuditEvent.agent", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "AuditEvent.agent.role", "path": "AuditEvent.agent.role", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "How the agent participated in the event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dicm-402-roleid" } } }, { "id": "AuditEvent.agent.reference", "path": "AuditEvent.agent.reference", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "AuditEvent.agent.userId", "path": "AuditEvent.agent.userId", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AuditEvent.agent.altId", "path": "AuditEvent.agent.altId", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.agent.name", "path": "AuditEvent.agent.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.agent.requestor", "path": "AuditEvent.agent.requestor", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "AuditEvent.agent.location", "path": "AuditEvent.agent.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "AuditEvent.agent.policy", "path": "AuditEvent.agent.policy", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "AuditEvent.agent.media", "path": "AuditEvent.agent.media", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Used when the event is about exporting/importing onto media.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dicm-405-mediatype" } } }, { "id": "AuditEvent.agent.network", "path": "AuditEvent.agent.network", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "AuditEvent.agent.network.address", "path": "AuditEvent.agent.network.address", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.agent.network.type", "path": "AuditEvent.agent.network.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of network access point of this agent in the audit event", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/network-type" } } }, { "id": "AuditEvent.agent.purposeOfUse", "path": "AuditEvent.agent.purposeOfUse", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The reason the activity took place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "AuditEvent.source", "path": "AuditEvent.source", "min": 1, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "AuditEvent.source.site", "path": "AuditEvent.source.site", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.source.identifier", "path": "AuditEvent.source.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AuditEvent.source.type", "path": "AuditEvent.source.type", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Code specifying the type of system that detected and recorded the event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/audit-source-type" } } }, { "id": "AuditEvent.entity", "path": "AuditEvent.entity", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "sev-1", "severity": "error", "human": "Either a name or a query (NOT both)", "expression": "name.empty() or query.empty()", "xpath": "not(exists(f:name)) or not(exists(f:query))" } ] }, { "id": "AuditEvent.entity.identifier", "path": "AuditEvent.entity.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "AuditEvent.entity.reference", "path": "AuditEvent.entity.reference", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "AuditEvent.entity.type", "path": "AuditEvent.entity.type", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Code for the entity type involved audited.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/object-type" } } }, { "id": "AuditEvent.entity.role", "path": "AuditEvent.entity.role", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Code representing the role the entity played in the event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/object-role" } } }, { "id": "AuditEvent.entity.lifecycle", "path": "AuditEvent.entity.lifecycle", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Identifier for the data life-cycle stage for the entity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/object-lifecycle" } } }, { "id": "AuditEvent.entity.securityLabel", "path": "AuditEvent.entity.securityLabel", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/security-labels" } } }, { "id": "AuditEvent.entity.name", "path": "AuditEvent.entity.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "sev-1" ], "isSummary": true }, { "id": "AuditEvent.entity.description", "path": "AuditEvent.entity.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.entity.query", "path": "AuditEvent.entity.query", "min": 0, "max": "1", "type": [ { "code": "base64Binary" } ], "condition": [ "sev-1" ], "isSummary": true }, { "id": "AuditEvent.entity.detail", "path": "AuditEvent.entity.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "AuditEvent.entity.detail.type", "path": "AuditEvent.entity.detail.type", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "AuditEvent.entity.detail.value", "path": "AuditEvent.entity.detail.value", "min": 1, "max": "1", "type": [ { "code": "base64Binary" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Basic", "resource": { "resourceType": "StructureDefinition", "id": "Basic", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Foundation/Documents & Questionnaires" } ], "url": "http://hl7.org/fhir/StructureDefinition/Basic", "name": "Basic", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Basic", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Basic", "path": "Basic", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Basic.id", "path": "Basic.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Basic.meta", "path": "Basic.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Basic.implicitRules", "path": "Basic.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Basic.language", "path": "Basic.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Basic.text", "path": "Basic.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Basic.contained", "path": "Basic.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Basic.extension", "path": "Basic.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Basic.modifierExtension", "path": "Basic.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Basic.identifier", "path": "Basic.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Basic.code", "path": "Basic.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "example", "description": "Codes for identifying types of resources not yet defined by FHIR", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/basic-resource-type" } } }, { "id": "Basic.subject", "path": "Basic.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Basic.created", "path": "Basic.created", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Basic.author", "path": "Basic.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "Basic", "path": "Basic", "min": 0, "max": "*" }, { "id": "Basic.identifier", "path": "Basic.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Basic.code", "path": "Basic.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "example", "description": "Codes for identifying types of resources not yet defined by FHIR", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/basic-resource-type" } } }, { "id": "Basic.subject", "path": "Basic.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Basic.created", "path": "Basic.created", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Basic.author", "path": "Basic.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Binary", "resource": { "resourceType": "StructureDefinition", "id": "Binary", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Infrastructure/Exchange" } ], "url": "http://hl7.org/fhir/StructureDefinition/Binary", "name": "Binary", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "There are situations where it is useful or required to handle pure binary content using the same framework as other resources.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Binary", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Resource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Binary", "path": "Binary", "min": 0, "max": "*" }, { "id": "Binary.id", "path": "Binary.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Binary.meta", "path": "Binary.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Binary.implicitRules", "path": "Binary.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Binary.language", "path": "Binary.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Binary.contentType", "path": "Binary.contentType", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "Binary.securityContext", "path": "Binary.securityContext", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Binary.content", "path": "Binary.content", "min": 1, "max": "1", "type": [ { "code": "base64Binary" } ] } ] }, "differential": { "element": [ { "id": "Binary", "path": "Binary", "min": 0, "max": "*" }, { "id": "Binary.contentType", "path": "Binary.contentType", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "Binary.securityContext", "path": "Binary.securityContext", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Binary.content", "path": "Binary.content", "min": 1, "max": "1", "type": [ { "code": "base64Binary" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/BodySite", "resource": { "resourceType": "StructureDefinition", "id": "BodySite", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Diagnostics" } ], "url": "http://hl7.org/fhir/StructureDefinition/BodySite", "name": "BodySite", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "BodySite", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "BodySite", "path": "BodySite", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "BodySite.id", "path": "BodySite.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "BodySite.meta", "path": "BodySite.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "BodySite.implicitRules", "path": "BodySite.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "BodySite.language", "path": "BodySite.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "BodySite.text", "path": "BodySite.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "BodySite.contained", "path": "BodySite.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "BodySite.extension", "path": "BodySite.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "BodySite.modifierExtension", "path": "BodySite.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "BodySite.patient", "path": "BodySite.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "BodySite.identifier", "path": "BodySite.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "BodySite.code", "path": "BodySite.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "BodySite.modifier", "path": "BodySite.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Concepts modifying the anatomic location", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/bodysite-relative-location" } } }, { "id": "BodySite.description", "path": "BodySite.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "BodySite.image", "path": "BodySite.image", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] } ] }, "differential": { "element": [ { "id": "BodySite", "path": "BodySite", "min": 0, "max": "*" }, { "id": "BodySite.patient", "path": "BodySite.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "BodySite.identifier", "path": "BodySite.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "BodySite.code", "path": "BodySite.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "BodySite.modifier", "path": "BodySite.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Concepts modifying the anatomic location", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/bodysite-relative-location" } } }, { "id": "BodySite.description", "path": "BodySite.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "BodySite.image", "path": "BodySite.image", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Bundle", "resource": { "resourceType": "StructureDefinition", "id": "Bundle", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Infrastructure/Exchange" } ], "url": "http://hl7.org/fhir/StructureDefinition/Bundle", "name": "Bundle", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Bundle", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Resource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Bundle", "path": "Bundle", "min": 0, "max": "*", "constraint": [ { "key": "bdl-7", "severity": "error", "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId", "expression": "entry.where(fullUrl).select(fullUrl&resource.meta.versionId).isDistinct()", "xpath": "count(for $entry in f:entry[f:resource] return $entry[count(parent::f:Bundle/f:entry[f:fullUrl/@value=$entry/f:fullUrl/@value and ((not(f:resource/*/f:meta/f:versionId/@value) and not($entry/f:resource/*/f:meta/f:versionId/@value)) or f:resource/*/f:meta/f:versionId/@value=$entry/f:resource/*/f:meta/f:versionId/@value)])!=1])=0" }, { "key": "bdl-9", "severity": "error", "human": "A document must have an identifier with a system and a value", "expression": "type = 'document' implies (identifier.system.exists() and identifier.value.exists())", "xpath": "not(f:type/@value = 'document') or exists(f:identifier/f:system) or exists(f:identifier/f:value)" }, { "key": "bdl-3", "severity": "error", "human": "entry.request only for some types of bundles", "expression": "entry.request.empty() or type = 'batch' or type = 'transaction' or type = 'history'", "xpath": "not(f:entry/f:request) or (f:type/@value = 'batch') or (f:type/@value = 'transaction') or (f:type/@value = 'history')" }, { "key": "bdl-4", "severity": "error", "human": "entry.response only for some types of bundles", "expression": "entry.response.empty() or type = 'batch-response' or type = 'transaction-response'", "xpath": "not(f:entry/f:response) or (f:type/@value = 'batch-response') or (f:type/@value = 'transaction-response')" }, { "key": "bdl-1", "severity": "error", "human": "total only when a search or history", "expression": "total.empty() or (type = 'searchset') or (type = 'history')", "xpath": "not(f:total) or (f:type/@value = 'searchset') or (f:type/@value = 'history')" }, { "key": "bdl-2", "severity": "error", "human": "entry.search only when a search", "expression": "entry.search.empty() or (type = 'searchset')", "xpath": "not(f:entry/f:search) or (f:type/@value = 'searchset')" } ] }, { "id": "Bundle.id", "path": "Bundle.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Bundle.meta", "path": "Bundle.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Bundle.implicitRules", "path": "Bundle.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Bundle.language", "path": "Bundle.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Bundle.type", "path": "Bundle.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicates the purpose of a bundle - how it was intended to be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/bundle-type" } } }, { "id": "Bundle.identifier", "path": "Bundle.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Bundle.total", "path": "Bundle.total", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "condition": [ "bdl-1" ], "isSummary": true }, { "id": "Bundle.link", "path": "Bundle.link", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Bundle.link.id", "path": "Bundle.link.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Bundle.link.extension", "path": "Bundle.link.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Bundle.link.modifierExtension", "path": "Bundle.link.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Bundle.link.relation", "path": "Bundle.link.relation", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.link.url", "path": "Bundle.link.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Bundle.entry", "path": "Bundle.entry", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "bdl-8", "severity": "error", "human": "fullUrl cannot be a version specific reference", "expression": "fullUrl.contains('/_history/').not()", "xpath": "not(exists(f:fullUrl[contains(@value, '/_history/')]))" }, { "key": "bdl-5", "severity": "error", "human": "must be a resource unless there's a request or response", "expression": "resource.exists() or request.exists() or response.exists()", "xpath": "exists(f:resource) or exists(f:request) or exists(f:response)" } ], "isSummary": true }, { "id": "Bundle.entry.id", "path": "Bundle.entry.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Bundle.entry.extension", "path": "Bundle.entry.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Bundle.entry.modifierExtension", "path": "Bundle.entry.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Bundle.entry.link", "path": "Bundle.entry.link", "min": 0, "max": "*", "contentReference": "#Bundle.link", "isSummary": true }, { "id": "Bundle.entry.fullUrl", "path": "Bundle.entry.fullUrl", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Bundle.entry.resource", "path": "Bundle.entry.resource", "min": 0, "max": "1", "type": [ { "code": "Resource" } ], "isSummary": true }, { "id": "Bundle.entry.search", "path": "Bundle.entry.search", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "bdl-2" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Bundle.entry.search.id", "path": "Bundle.entry.search.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Bundle.entry.search.extension", "path": "Bundle.entry.search.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Bundle.entry.search.modifierExtension", "path": "Bundle.entry.search.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Bundle.entry.search.mode", "path": "Bundle.entry.search.mode", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Why an entry is in the result set - whether it's included as a match or because of an _include requirement.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-entry-mode" } } }, { "id": "Bundle.entry.search.score", "path": "Bundle.entry.search.score", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Bundle.entry.request", "path": "Bundle.entry.request", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "bdl-3" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Bundle.entry.request.id", "path": "Bundle.entry.request.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Bundle.entry.request.extension", "path": "Bundle.entry.request.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Bundle.entry.request.modifierExtension", "path": "Bundle.entry.request.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Bundle.entry.request.method", "path": "Bundle.entry.request.method", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "HTTP verbs (in the HTTP command line).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/http-verb" } } }, { "id": "Bundle.entry.request.url", "path": "Bundle.entry.request.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Bundle.entry.request.ifNoneMatch", "path": "Bundle.entry.request.ifNoneMatch", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.request.ifModifiedSince", "path": "Bundle.entry.request.ifModifiedSince", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Bundle.entry.request.ifMatch", "path": "Bundle.entry.request.ifMatch", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.request.ifNoneExist", "path": "Bundle.entry.request.ifNoneExist", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.response", "path": "Bundle.entry.response", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "bdl-4" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Bundle.entry.response.id", "path": "Bundle.entry.response.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Bundle.entry.response.extension", "path": "Bundle.entry.response.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Bundle.entry.response.modifierExtension", "path": "Bundle.entry.response.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Bundle.entry.response.status", "path": "Bundle.entry.response.status", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.response.location", "path": "Bundle.entry.response.location", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Bundle.entry.response.etag", "path": "Bundle.entry.response.etag", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.response.lastModified", "path": "Bundle.entry.response.lastModified", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Bundle.entry.response.outcome", "path": "Bundle.entry.response.outcome", "min": 0, "max": "1", "type": [ { "code": "Resource" } ], "isSummary": true }, { "id": "Bundle.signature", "path": "Bundle.signature", "min": 0, "max": "1", "type": [ { "code": "Signature" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "Bundle", "path": "Bundle", "min": 0, "max": "*", "constraint": [ { "key": "bdl-7", "severity": "error", "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId", "expression": "entry.where(fullUrl).select(fullUrl&resource.meta.versionId).isDistinct()", "xpath": "count(for $entry in f:entry[f:resource] return $entry[count(parent::f:Bundle/f:entry[f:fullUrl/@value=$entry/f:fullUrl/@value and ((not(f:resource/*/f:meta/f:versionId/@value) and not($entry/f:resource/*/f:meta/f:versionId/@value)) or f:resource/*/f:meta/f:versionId/@value=$entry/f:resource/*/f:meta/f:versionId/@value)])!=1])=0" }, { "key": "bdl-9", "severity": "error", "human": "A document must have an identifier with a system and a value", "expression": "type = 'document' implies (identifier.system.exists() and identifier.value.exists())", "xpath": "not(f:type/@value = 'document') or exists(f:identifier/f:system) or exists(f:identifier/f:value)" }, { "key": "bdl-3", "severity": "error", "human": "entry.request only for some types of bundles", "expression": "entry.request.empty() or type = 'batch' or type = 'transaction' or type = 'history'", "xpath": "not(f:entry/f:request) or (f:type/@value = 'batch') or (f:type/@value = 'transaction') or (f:type/@value = 'history')" }, { "key": "bdl-4", "severity": "error", "human": "entry.response only for some types of bundles", "expression": "entry.response.empty() or type = 'batch-response' or type = 'transaction-response'", "xpath": "not(f:entry/f:response) or (f:type/@value = 'batch-response') or (f:type/@value = 'transaction-response')" }, { "key": "bdl-1", "severity": "error", "human": "total only when a search or history", "expression": "total.empty() or (type = 'searchset') or (type = 'history')", "xpath": "not(f:total) or (f:type/@value = 'searchset') or (f:type/@value = 'history')" }, { "key": "bdl-2", "severity": "error", "human": "entry.search only when a search", "expression": "entry.search.empty() or (type = 'searchset')", "xpath": "not(f:entry/f:search) or (f:type/@value = 'searchset')" } ] }, { "id": "Bundle.type", "path": "Bundle.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicates the purpose of a bundle - how it was intended to be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/bundle-type" } } }, { "id": "Bundle.identifier", "path": "Bundle.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Bundle.total", "path": "Bundle.total", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "condition": [ "bdl-1" ], "isSummary": true }, { "id": "Bundle.link", "path": "Bundle.link", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Bundle.link.relation", "path": "Bundle.link.relation", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.link.url", "path": "Bundle.link.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Bundle.entry", "path": "Bundle.entry", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "bdl-8", "severity": "error", "human": "fullUrl cannot be a version specific reference", "expression": "fullUrl.contains('/_history/').not()", "xpath": "not(exists(f:fullUrl[contains(@value, '/_history/')]))" }, { "key": "bdl-5", "severity": "error", "human": "must be a resource unless there's a request or response", "expression": "resource.exists() or request.exists() or response.exists()", "xpath": "exists(f:resource) or exists(f:request) or exists(f:response)" } ], "isSummary": true }, { "id": "Bundle.entry.link", "path": "Bundle.entry.link", "min": 0, "max": "*", "contentReference": "#Bundle.link", "isSummary": true }, { "id": "Bundle.entry.fullUrl", "path": "Bundle.entry.fullUrl", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Bundle.entry.resource", "path": "Bundle.entry.resource", "min": 0, "max": "1", "type": [ { "code": "Resource" } ], "isSummary": true }, { "id": "Bundle.entry.search", "path": "Bundle.entry.search", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "bdl-2" ], "isSummary": true }, { "id": "Bundle.entry.search.mode", "path": "Bundle.entry.search.mode", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Why an entry is in the result set - whether it's included as a match or because of an _include requirement.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-entry-mode" } } }, { "id": "Bundle.entry.search.score", "path": "Bundle.entry.search.score", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Bundle.entry.request", "path": "Bundle.entry.request", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "bdl-3" ], "isSummary": true }, { "id": "Bundle.entry.request.method", "path": "Bundle.entry.request.method", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "HTTP verbs (in the HTTP command line).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/http-verb" } } }, { "id": "Bundle.entry.request.url", "path": "Bundle.entry.request.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Bundle.entry.request.ifNoneMatch", "path": "Bundle.entry.request.ifNoneMatch", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.request.ifModifiedSince", "path": "Bundle.entry.request.ifModifiedSince", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Bundle.entry.request.ifMatch", "path": "Bundle.entry.request.ifMatch", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.request.ifNoneExist", "path": "Bundle.entry.request.ifNoneExist", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.response", "path": "Bundle.entry.response", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "bdl-4" ], "isSummary": true }, { "id": "Bundle.entry.response.status", "path": "Bundle.entry.response.status", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.response.location", "path": "Bundle.entry.response.location", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Bundle.entry.response.etag", "path": "Bundle.entry.response.etag", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Bundle.entry.response.lastModified", "path": "Bundle.entry.response.lastModified", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Bundle.entry.response.outcome", "path": "Bundle.entry.response.outcome", "min": 0, "max": "1", "type": [ { "code": "Resource" } ], "isSummary": true }, { "id": "Bundle.signature", "path": "Bundle.signature", "min": 0, "max": "1", "type": [ { "code": "Signature" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/CapabilityStatement", "resource": { "resourceType": "StructureDefinition", "id": "CapabilityStatement", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" } ], "url": "http://hl7.org/fhir/StructureDefinition/CapabilityStatement", "name": "CapabilityStatement", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "CapabilityStatement", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "CapabilityStatement", "path": "CapabilityStatement", "min": 1, "max": "1", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "cpb-8", "severity": "error", "human": "There can only be one REST declaration per mode", "expression": "rest.select(mode).isDistinct()", "xpath": "count(f:rest)=count(distinct-values(f:rest/f:mode/@value))" }, { "key": "cpb-7", "severity": "error", "human": "The set of documents must be unique by the combination of profile & mode", "expression": "document.select(profile.reference&mode).isDistinct()", "xpath": "count(f:document[f:mode/@value='producer'])=count(distinct-values(f:document[f:mode/@value='producer']/f:profile/f:reference/@value)) and count(f:document[f:mode/@value='consumer'])=count(distinct-values(f:document[f:mode/@value='consumer']/f:profile/f:reference/@value))" }, { "key": "cpb-15", "severity": "error", "human": "Capability Statements of kind 'instance' do not have implementation elements", "expression": "implementation.empty() or kind != 'capability'", "xpath": "not(exists(f:implementation)) or (f:kind/@value != 'capability')" }, { "key": "cpb-3", "severity": "error", "human": "Messaging end-point is required (and is only permitted) when statement is for an implementation", "expression": "messaging.endpoint.empty() or kind = 'instance'", "xpath": "not(exists(f:messaging/f:endpoint)) or f:kind/@value = 'instance'" }, { "key": "cpb-14", "severity": "error", "human": "Capability Statements of kind 'requirements' do not have software or implementation elements", "expression": "(software.empty() and implementation.empty()) or kind != 'requirements'", "xpath": "not(exists(f:software) or exists(f:implementation)) or (f:kind/@value != 'requirements')" }, { "key": "cpb-2", "severity": "error", "human": "A Capability Statement SHALL have at least one of description, software, or implementation", "expression": "(description.count() + software.count() + implementation.count()) > 0", "xpath": "count(f:software | f:implementation | f:description) > 0" }, { "key": "cpb-1", "severity": "error", "human": "A Capability Statement SHALL have at least one of REST, messaging or document", "expression": "rest.exists() or messaging.exists() or document.exists()", "xpath": "exists(f:rest) or exists(f:messaging) or exists(f:document)" } ] }, { "id": "CapabilityStatement.id", "path": "CapabilityStatement.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "CapabilityStatement.meta", "path": "CapabilityStatement.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "CapabilityStatement.implicitRules", "path": "CapabilityStatement.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.language", "path": "CapabilityStatement.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "CapabilityStatement.text", "path": "CapabilityStatement.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "CapabilityStatement.contained", "path": "CapabilityStatement.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "CapabilityStatement.extension", "path": "CapabilityStatement.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.modifierExtension", "path": "CapabilityStatement.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "CapabilityStatement.url", "path": "CapabilityStatement.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CapabilityStatement.version", "path": "CapabilityStatement.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.name", "path": "CapabilityStatement.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.title", "path": "CapabilityStatement.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.status", "path": "CapabilityStatement.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "CapabilityStatement.experimental", "path": "CapabilityStatement.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.date", "path": "CapabilityStatement.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CapabilityStatement.publisher", "path": "CapabilityStatement.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.contact", "path": "CapabilityStatement.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "CapabilityStatement.description", "path": "CapabilityStatement.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "condition": [ "cpb-2" ] }, { "id": "CapabilityStatement.useContext", "path": "CapabilityStatement.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "CapabilityStatement.jurisdiction", "path": "CapabilityStatement.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "CapabilityStatement.purpose", "path": "CapabilityStatement.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CapabilityStatement.copyright", "path": "CapabilityStatement.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CapabilityStatement.kind", "path": "CapabilityStatement.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How a capability statement is intended to be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/capability-statement-kind" } } }, { "id": "CapabilityStatement.instantiates", "path": "CapabilityStatement.instantiates", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CapabilityStatement.software", "path": "CapabilityStatement.software", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-2" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CapabilityStatement.software.id", "path": "CapabilityStatement.software.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.software.extension", "path": "CapabilityStatement.software.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.software.modifierExtension", "path": "CapabilityStatement.software.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.software.name", "path": "CapabilityStatement.software.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.software.version", "path": "CapabilityStatement.software.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.software.releaseDate", "path": "CapabilityStatement.software.releaseDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CapabilityStatement.implementation", "path": "CapabilityStatement.implementation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-2" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CapabilityStatement.implementation.id", "path": "CapabilityStatement.implementation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.implementation.extension", "path": "CapabilityStatement.implementation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.implementation.modifierExtension", "path": "CapabilityStatement.implementation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.implementation.description", "path": "CapabilityStatement.implementation.description", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.implementation.url", "path": "CapabilityStatement.implementation.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CapabilityStatement.fhirVersion", "path": "CapabilityStatement.fhirVersion", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "CapabilityStatement.acceptUnknown", "path": "CapabilityStatement.acceptUnknown", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "A code that indicates whether an application accepts unknown elements or extensions when reading resources.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/unknown-content-code" } } }, { "id": "CapabilityStatement.format", "path": "CapabilityStatement.format", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "CapabilityStatement.patchFormat", "path": "CapabilityStatement.patchFormat", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "CapabilityStatement.implementationGuide", "path": "CapabilityStatement.implementationGuide", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CapabilityStatement.profile", "path": "CapabilityStatement.profile", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.rest", "path": "CapabilityStatement.rest", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "cpb-9", "severity": "error", "human": "A given resource can only be described once per RESTful mode", "expression": "resource.select(type).isDistinct()", "xpath": "count(f:resource)=count(distinct-values(f:resource/f:type/@value))" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.id", "path": "CapabilityStatement.rest.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.extension", "path": "CapabilityStatement.rest.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.rest.modifierExtension", "path": "CapabilityStatement.rest.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.rest.mode", "path": "CapabilityStatement.rest.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mode of a RESTful capability statement.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/restful-capability-mode" } } }, { "id": "CapabilityStatement.rest.documentation", "path": "CapabilityStatement.rest.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.security", "path": "CapabilityStatement.rest.security", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.security.id", "path": "CapabilityStatement.rest.security.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.security.extension", "path": "CapabilityStatement.rest.security.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.rest.security.modifierExtension", "path": "CapabilityStatement.rest.security.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.rest.security.cors", "path": "CapabilityStatement.rest.security.cors", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.security.service", "path": "CapabilityStatement.rest.security.service", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Types of security services used with FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/restful-security-service" } } }, { "id": "CapabilityStatement.rest.security.description", "path": "CapabilityStatement.rest.security.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.security.certificate", "path": "CapabilityStatement.rest.security.certificate", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CapabilityStatement.rest.security.certificate.id", "path": "CapabilityStatement.rest.security.certificate.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.security.certificate.extension", "path": "CapabilityStatement.rest.security.certificate.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.rest.security.certificate.modifierExtension", "path": "CapabilityStatement.rest.security.certificate.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.rest.security.certificate.type", "path": "CapabilityStatement.rest.security.certificate.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "CapabilityStatement.rest.security.certificate.blob", "path": "CapabilityStatement.rest.security.certificate.blob", "min": 0, "max": "1", "type": [ { "code": "base64Binary" } ] }, { "id": "CapabilityStatement.rest.resource", "path": "CapabilityStatement.rest.resource", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "cpb-12", "severity": "error", "human": "Search parameter names must be unique in the context of a resource", "expression": "searchParam.select(name).isDistinct()", "xpath": "count(f:searchParam)=count(distinct-values(f:searchParam/f:name/@value))" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.resource.id", "path": "CapabilityStatement.rest.resource.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.extension", "path": "CapabilityStatement.rest.resource.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.rest.resource.modifierExtension", "path": "CapabilityStatement.rest.resource.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.rest.resource.type", "path": "CapabilityStatement.rest.resource.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "CapabilityStatement.rest.resource.profile", "path": "CapabilityStatement.rest.resource.profile", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.resource.documentation", "path": "CapabilityStatement.rest.resource.documentation", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CapabilityStatement.rest.resource.interaction", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ResourceInteraction" } ], "path": "CapabilityStatement.rest.resource.interaction", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CapabilityStatement.rest.resource.interaction.id", "path": "CapabilityStatement.rest.resource.interaction.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.interaction.extension", "path": "CapabilityStatement.rest.resource.interaction.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.rest.resource.interaction.modifierExtension", "path": "CapabilityStatement.rest.resource.interaction.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.rest.resource.interaction.code", "path": "CapabilityStatement.rest.resource.interaction.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Operations supported by REST at the type or instance level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/type-restful-interaction" } } }, { "id": "CapabilityStatement.rest.resource.interaction.documentation", "path": "CapabilityStatement.rest.resource.interaction.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.versioning", "path": "CapabilityStatement.rest.resource.versioning", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "How the system supports versioning for a resource.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/versioning-policy" } } }, { "id": "CapabilityStatement.rest.resource.readHistory", "path": "CapabilityStatement.rest.resource.readHistory", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "CapabilityStatement.rest.resource.updateCreate", "path": "CapabilityStatement.rest.resource.updateCreate", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "CapabilityStatement.rest.resource.conditionalCreate", "path": "CapabilityStatement.rest.resource.conditionalCreate", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "CapabilityStatement.rest.resource.conditionalRead", "path": "CapabilityStatement.rest.resource.conditionalRead", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "A code that indicates how the server supports conditional read.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/conditional-read-status" } } }, { "id": "CapabilityStatement.rest.resource.conditionalUpdate", "path": "CapabilityStatement.rest.resource.conditionalUpdate", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "CapabilityStatement.rest.resource.conditionalDelete", "path": "CapabilityStatement.rest.resource.conditionalDelete", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "A code that indicates how the server supports conditional delete.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/conditional-delete-status" } } }, { "id": "CapabilityStatement.rest.resource.referencePolicy", "path": "CapabilityStatement.rest.resource.referencePolicy", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "A set of flags that defines how references are supported", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reference-handling-policy" } } }, { "id": "CapabilityStatement.rest.resource.searchInclude", "path": "CapabilityStatement.rest.resource.searchInclude", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.searchRevInclude", "path": "CapabilityStatement.rest.resource.searchRevInclude", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam", "path": "CapabilityStatement.rest.resource.searchParam", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam.id", "path": "CapabilityStatement.rest.resource.searchParam.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam.extension", "path": "CapabilityStatement.rest.resource.searchParam.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam.modifierExtension", "path": "CapabilityStatement.rest.resource.searchParam.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.rest.resource.searchParam.name", "path": "CapabilityStatement.rest.resource.searchParam.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam.definition", "path": "CapabilityStatement.rest.resource.searchParam.definition", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam.type", "path": "CapabilityStatement.rest.resource.searchParam.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Data types allowed to be used for search parameters.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-param-type" } } }, { "id": "CapabilityStatement.rest.resource.searchParam.documentation", "path": "CapabilityStatement.rest.resource.searchParam.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.interaction", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SystemInteraction" } ], "path": "CapabilityStatement.rest.interaction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CapabilityStatement.rest.interaction.id", "path": "CapabilityStatement.rest.interaction.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.interaction.extension", "path": "CapabilityStatement.rest.interaction.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.rest.interaction.modifierExtension", "path": "CapabilityStatement.rest.interaction.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.rest.interaction.code", "path": "CapabilityStatement.rest.interaction.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Operations supported by REST at the system level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/system-restful-interaction" } } }, { "id": "CapabilityStatement.rest.interaction.documentation", "path": "CapabilityStatement.rest.interaction.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.searchParam", "path": "CapabilityStatement.rest.searchParam", "min": 0, "max": "*", "contentReference": "#CapabilityStatement.rest.resource.searchParam" }, { "id": "CapabilityStatement.rest.operation", "path": "CapabilityStatement.rest.operation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.operation.id", "path": "CapabilityStatement.rest.operation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.operation.extension", "path": "CapabilityStatement.rest.operation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.rest.operation.modifierExtension", "path": "CapabilityStatement.rest.operation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.rest.operation.name", "path": "CapabilityStatement.rest.operation.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.operation.definition", "path": "CapabilityStatement.rest.operation.definition", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.compartment", "path": "CapabilityStatement.rest.compartment", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "CapabilityStatement.messaging", "path": "CapabilityStatement.messaging", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CapabilityStatement.messaging.id", "path": "CapabilityStatement.messaging.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.messaging.extension", "path": "CapabilityStatement.messaging.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.messaging.modifierExtension", "path": "CapabilityStatement.messaging.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.messaging.endpoint", "path": "CapabilityStatement.messaging.endpoint", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CapabilityStatement.messaging.endpoint.id", "path": "CapabilityStatement.messaging.endpoint.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.messaging.endpoint.extension", "path": "CapabilityStatement.messaging.endpoint.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.messaging.endpoint.modifierExtension", "path": "CapabilityStatement.messaging.endpoint.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.messaging.endpoint.protocol", "path": "CapabilityStatement.messaging.endpoint.protocol", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The protocol used for message transport.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-transport" } } }, { "id": "CapabilityStatement.messaging.endpoint.address", "path": "CapabilityStatement.messaging.endpoint.address", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "CapabilityStatement.messaging.reliableCache", "path": "CapabilityStatement.messaging.reliableCache", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ] }, { "id": "CapabilityStatement.messaging.documentation", "path": "CapabilityStatement.messaging.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.messaging.event", "path": "CapabilityStatement.messaging.event", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CapabilityStatement.messaging.event.id", "path": "CapabilityStatement.messaging.event.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.messaging.event.extension", "path": "CapabilityStatement.messaging.event.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.messaging.event.modifierExtension", "path": "CapabilityStatement.messaging.event.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.messaging.event.code", "path": "CapabilityStatement.messaging.event.code", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "One of the message events defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-events" } } }, { "id": "CapabilityStatement.messaging.event.category", "path": "CapabilityStatement.messaging.event.category", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The impact of the content of a message.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-significance-category" } } }, { "id": "CapabilityStatement.messaging.event.mode", "path": "CapabilityStatement.messaging.event.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The mode of a message capability statement.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/event-capability-mode" } } }, { "id": "CapabilityStatement.messaging.event.focus", "path": "CapabilityStatement.messaging.event.focus", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "CapabilityStatement.messaging.event.request", "path": "CapabilityStatement.messaging.event.request", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.messaging.event.response", "path": "CapabilityStatement.messaging.event.response", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.messaging.event.documentation", "path": "CapabilityStatement.messaging.event.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.document", "path": "CapabilityStatement.document", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CapabilityStatement.document.id", "path": "CapabilityStatement.document.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.document.extension", "path": "CapabilityStatement.document.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CapabilityStatement.document.modifierExtension", "path": "CapabilityStatement.document.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.document.mode", "path": "CapabilityStatement.document.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Whether the application produces or consumes documents.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-mode" } } }, { "id": "CapabilityStatement.document.documentation", "path": "CapabilityStatement.document.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.document.profile", "path": "CapabilityStatement.document.profile", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "CapabilityStatement", "path": "CapabilityStatement", "min": 1, "max": "1", "constraint": [ { "key": "cpb-8", "severity": "error", "human": "There can only be one REST declaration per mode", "expression": "rest.select(mode).isDistinct()", "xpath": "count(f:rest)=count(distinct-values(f:rest/f:mode/@value))" }, { "key": "cpb-7", "severity": "error", "human": "The set of documents must be unique by the combination of profile & mode", "expression": "document.select(profile.reference&mode).isDistinct()", "xpath": "count(f:document[f:mode/@value='producer'])=count(distinct-values(f:document[f:mode/@value='producer']/f:profile/f:reference/@value)) and count(f:document[f:mode/@value='consumer'])=count(distinct-values(f:document[f:mode/@value='consumer']/f:profile/f:reference/@value))" }, { "key": "cpb-15", "severity": "error", "human": "Capability Statements of kind 'instance' do not have implementation elements", "expression": "implementation.empty() or kind != 'capability'", "xpath": "not(exists(f:implementation)) or (f:kind/@value != 'capability')" }, { "key": "cpb-3", "severity": "error", "human": "Messaging end-point is required (and is only permitted) when statement is for an implementation", "expression": "messaging.endpoint.empty() or kind = 'instance'", "xpath": "not(exists(f:messaging/f:endpoint)) or f:kind/@value = 'instance'" }, { "key": "cpb-14", "severity": "error", "human": "Capability Statements of kind 'requirements' do not have software or implementation elements", "expression": "(software.empty() and implementation.empty()) or kind != 'requirements'", "xpath": "not(exists(f:software) or exists(f:implementation)) or (f:kind/@value != 'requirements')" }, { "key": "cpb-2", "severity": "error", "human": "A Capability Statement SHALL have at least one of description, software, or implementation", "expression": "(description.count() + software.count() + implementation.count()) > 0", "xpath": "count(f:software | f:implementation | f:description) > 0" }, { "key": "cpb-1", "severity": "error", "human": "A Capability Statement SHALL have at least one of REST, messaging or document", "expression": "rest.exists() or messaging.exists() or document.exists()", "xpath": "exists(f:rest) or exists(f:messaging) or exists(f:document)" } ] }, { "id": "CapabilityStatement.url", "path": "CapabilityStatement.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CapabilityStatement.version", "path": "CapabilityStatement.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.name", "path": "CapabilityStatement.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.title", "path": "CapabilityStatement.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.status", "path": "CapabilityStatement.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "CapabilityStatement.experimental", "path": "CapabilityStatement.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "CapabilityStatement.date", "path": "CapabilityStatement.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CapabilityStatement.publisher", "path": "CapabilityStatement.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.contact", "path": "CapabilityStatement.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "CapabilityStatement.description", "path": "CapabilityStatement.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "condition": [ "cpb-2" ] }, { "id": "CapabilityStatement.useContext", "path": "CapabilityStatement.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "CapabilityStatement.jurisdiction", "path": "CapabilityStatement.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "CapabilityStatement.purpose", "path": "CapabilityStatement.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CapabilityStatement.copyright", "path": "CapabilityStatement.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CapabilityStatement.kind", "path": "CapabilityStatement.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How a capability statement is intended to be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/capability-statement-kind" } } }, { "id": "CapabilityStatement.instantiates", "path": "CapabilityStatement.instantiates", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CapabilityStatement.software", "path": "CapabilityStatement.software", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-2" ], "isSummary": true }, { "id": "CapabilityStatement.software.name", "path": "CapabilityStatement.software.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.software.version", "path": "CapabilityStatement.software.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.software.releaseDate", "path": "CapabilityStatement.software.releaseDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CapabilityStatement.implementation", "path": "CapabilityStatement.implementation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-2" ], "isSummary": true }, { "id": "CapabilityStatement.implementation.description", "path": "CapabilityStatement.implementation.description", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CapabilityStatement.implementation.url", "path": "CapabilityStatement.implementation.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CapabilityStatement.fhirVersion", "path": "CapabilityStatement.fhirVersion", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "CapabilityStatement.acceptUnknown", "path": "CapabilityStatement.acceptUnknown", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "A code that indicates whether an application accepts unknown elements or extensions when reading resources.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/unknown-content-code" } } }, { "id": "CapabilityStatement.format", "path": "CapabilityStatement.format", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "CapabilityStatement.patchFormat", "path": "CapabilityStatement.patchFormat", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "CapabilityStatement.implementationGuide", "path": "CapabilityStatement.implementationGuide", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CapabilityStatement.profile", "path": "CapabilityStatement.profile", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.rest", "path": "CapabilityStatement.rest", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-1" ], "constraint": [ { "key": "cpb-9", "severity": "error", "human": "A given resource can only be described once per RESTful mode", "expression": "resource.select(type).isDistinct()", "xpath": "count(f:resource)=count(distinct-values(f:resource/f:type/@value))" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.mode", "path": "CapabilityStatement.rest.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mode of a RESTful capability statement.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/restful-capability-mode" } } }, { "id": "CapabilityStatement.rest.documentation", "path": "CapabilityStatement.rest.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.security", "path": "CapabilityStatement.rest.security", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.security.cors", "path": "CapabilityStatement.rest.security.cors", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.security.service", "path": "CapabilityStatement.rest.security.service", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Types of security services used with FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/restful-security-service" } } }, { "id": "CapabilityStatement.rest.security.description", "path": "CapabilityStatement.rest.security.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.security.certificate", "path": "CapabilityStatement.rest.security.certificate", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CapabilityStatement.rest.security.certificate.type", "path": "CapabilityStatement.rest.security.certificate.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "CapabilityStatement.rest.security.certificate.blob", "path": "CapabilityStatement.rest.security.certificate.blob", "min": 0, "max": "1", "type": [ { "code": "base64Binary" } ] }, { "id": "CapabilityStatement.rest.resource", "path": "CapabilityStatement.rest.resource", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "cpb-12", "severity": "error", "human": "Search parameter names must be unique in the context of a resource", "expression": "searchParam.select(name).isDistinct()", "xpath": "count(f:searchParam)=count(distinct-values(f:searchParam/f:name/@value))" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.resource.type", "path": "CapabilityStatement.rest.resource.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "CapabilityStatement.rest.resource.profile", "path": "CapabilityStatement.rest.resource.profile", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.resource.documentation", "path": "CapabilityStatement.rest.resource.documentation", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CapabilityStatement.rest.resource.interaction", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ResourceInteraction" } ], "path": "CapabilityStatement.rest.resource.interaction", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CapabilityStatement.rest.resource.interaction.code", "path": "CapabilityStatement.rest.resource.interaction.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Operations supported by REST at the type or instance level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/type-restful-interaction" } } }, { "id": "CapabilityStatement.rest.resource.interaction.documentation", "path": "CapabilityStatement.rest.resource.interaction.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.versioning", "path": "CapabilityStatement.rest.resource.versioning", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "How the system supports versioning for a resource.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/versioning-policy" } } }, { "id": "CapabilityStatement.rest.resource.readHistory", "path": "CapabilityStatement.rest.resource.readHistory", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "CapabilityStatement.rest.resource.updateCreate", "path": "CapabilityStatement.rest.resource.updateCreate", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "CapabilityStatement.rest.resource.conditionalCreate", "path": "CapabilityStatement.rest.resource.conditionalCreate", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "CapabilityStatement.rest.resource.conditionalRead", "path": "CapabilityStatement.rest.resource.conditionalRead", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "A code that indicates how the server supports conditional read.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/conditional-read-status" } } }, { "id": "CapabilityStatement.rest.resource.conditionalUpdate", "path": "CapabilityStatement.rest.resource.conditionalUpdate", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "CapabilityStatement.rest.resource.conditionalDelete", "path": "CapabilityStatement.rest.resource.conditionalDelete", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "A code that indicates how the server supports conditional delete.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/conditional-delete-status" } } }, { "id": "CapabilityStatement.rest.resource.referencePolicy", "path": "CapabilityStatement.rest.resource.referencePolicy", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "A set of flags that defines how references are supported", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reference-handling-policy" } } }, { "id": "CapabilityStatement.rest.resource.searchInclude", "path": "CapabilityStatement.rest.resource.searchInclude", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.searchRevInclude", "path": "CapabilityStatement.rest.resource.searchRevInclude", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam", "path": "CapabilityStatement.rest.resource.searchParam", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam.name", "path": "CapabilityStatement.rest.resource.searchParam.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam.definition", "path": "CapabilityStatement.rest.resource.searchParam.definition", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "CapabilityStatement.rest.resource.searchParam.type", "path": "CapabilityStatement.rest.resource.searchParam.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Data types allowed to be used for search parameters.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-param-type" } } }, { "id": "CapabilityStatement.rest.resource.searchParam.documentation", "path": "CapabilityStatement.rest.resource.searchParam.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.interaction", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SystemInteraction" } ], "path": "CapabilityStatement.rest.interaction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CapabilityStatement.rest.interaction.code", "path": "CapabilityStatement.rest.interaction.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Operations supported by REST at the system level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/system-restful-interaction" } } }, { "id": "CapabilityStatement.rest.interaction.documentation", "path": "CapabilityStatement.rest.interaction.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.searchParam", "path": "CapabilityStatement.rest.searchParam", "min": 0, "max": "*", "contentReference": "#CapabilityStatement.rest.resource.searchParam" }, { "id": "CapabilityStatement.rest.operation", "path": "CapabilityStatement.rest.operation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.operation.name", "path": "CapabilityStatement.rest.operation.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.rest.operation.definition", "path": "CapabilityStatement.rest.operation.definition", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.rest.compartment", "path": "CapabilityStatement.rest.compartment", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "CapabilityStatement.messaging", "path": "CapabilityStatement.messaging", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-1" ], "isSummary": true }, { "id": "CapabilityStatement.messaging.endpoint", "path": "CapabilityStatement.messaging.endpoint", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CapabilityStatement.messaging.endpoint.protocol", "path": "CapabilityStatement.messaging.endpoint.protocol", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The protocol used for message transport.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-transport" } } }, { "id": "CapabilityStatement.messaging.endpoint.address", "path": "CapabilityStatement.messaging.endpoint.address", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "CapabilityStatement.messaging.reliableCache", "path": "CapabilityStatement.messaging.reliableCache", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ] }, { "id": "CapabilityStatement.messaging.documentation", "path": "CapabilityStatement.messaging.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.messaging.event", "path": "CapabilityStatement.messaging.event", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "CapabilityStatement.messaging.event.code", "path": "CapabilityStatement.messaging.event.code", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "One of the message events defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-events" } } }, { "id": "CapabilityStatement.messaging.event.category", "path": "CapabilityStatement.messaging.event.category", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The impact of the content of a message.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-significance-category" } } }, { "id": "CapabilityStatement.messaging.event.mode", "path": "CapabilityStatement.messaging.event.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The mode of a message capability statement.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/event-capability-mode" } } }, { "id": "CapabilityStatement.messaging.event.focus", "path": "CapabilityStatement.messaging.event.focus", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "CapabilityStatement.messaging.event.request", "path": "CapabilityStatement.messaging.event.request", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.messaging.event.response", "path": "CapabilityStatement.messaging.event.response", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "CapabilityStatement.messaging.event.documentation", "path": "CapabilityStatement.messaging.event.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.document", "path": "CapabilityStatement.document", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "cpb-1" ], "isSummary": true }, { "id": "CapabilityStatement.document.mode", "path": "CapabilityStatement.document.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Whether the application produces or consumes documents.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-mode" } } }, { "id": "CapabilityStatement.document.documentation", "path": "CapabilityStatement.document.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CapabilityStatement.document.profile", "path": "CapabilityStatement.document.profile", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/CarePlan", "resource": { "resourceType": "StructureDefinition", "id": "CarePlan", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Care Provision" } ], "url": "http://hl7.org/fhir/StructureDefinition/CarePlan", "name": "CarePlan", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "CarePlan", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "CarePlan", "path": "CarePlan", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "CarePlan.id", "path": "CarePlan.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "CarePlan.meta", "path": "CarePlan.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "CarePlan.implicitRules", "path": "CarePlan.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "CarePlan.language", "path": "CarePlan.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "CarePlan.text", "path": "CarePlan.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "CarePlan.contained", "path": "CarePlan.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "CarePlan.extension", "path": "CarePlan.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CarePlan.modifierExtension", "path": "CarePlan.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "CarePlan.identifier", "path": "CarePlan.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "CarePlan.status", "path": "CarePlan.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-status" } } }, { "id": "CarePlan.category", "path": "CarePlan.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-category" } } }, { "id": "CarePlan.description", "path": "CarePlan.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CarePlan.subject", "path": "CarePlan.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "CarePlan.context", "path": "CarePlan.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "CarePlan.period", "path": "CarePlan.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "CarePlan.modified", "path": "CarePlan.modified", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CarePlan.author", "path": "CarePlan.author", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "CarePlan.careTeam", "path": "CarePlan.careTeam", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ] }, { "id": "CarePlan.addresses", "path": "CarePlan.addresses", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "isSummary": true }, { "id": "CarePlan.support", "path": "CarePlan.support", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "CarePlan.definition", "path": "CarePlan.definition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire" } ] }, { "id": "CarePlan.relatedPlan", "path": "CarePlan.relatedPlan", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CarePlan.relatedPlan.id", "path": "CarePlan.relatedPlan.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CarePlan.relatedPlan.extension", "path": "CarePlan.relatedPlan.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CarePlan.relatedPlan.modifierExtension", "path": "CarePlan.relatedPlan.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CarePlan.relatedPlan.code", "path": "CarePlan.relatedPlan.code", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Codes identifying the types of relationships between two plans.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-relationship" } } }, { "id": "CarePlan.relatedPlan.plan", "path": "CarePlan.relatedPlan.plan", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" } ] }, { "id": "CarePlan.goal", "path": "CarePlan.goal", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Goal" } ] }, { "id": "CarePlan.activity", "path": "CarePlan.activity", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "ctm-3", "severity": "error", "human": "Provide a reference or detail, not both", "expression": "detail.empty() or reference.empty()", "xpath": "not(exists(f:detail)) or not(exists(f:reference))" } ] }, { "id": "CarePlan.activity.id", "path": "CarePlan.activity.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CarePlan.activity.extension", "path": "CarePlan.activity.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CarePlan.activity.modifierExtension", "path": "CarePlan.activity.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CarePlan.activity.actionResulting", "path": "CarePlan.activity.actionResulting", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "CarePlan.activity.outcome", "path": "CarePlan.activity.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Identifies the results of the activity" } }, { "id": "CarePlan.activity.progress", "path": "CarePlan.activity.progress", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "CarePlan.activity.reference", "path": "CarePlan.activity.reference", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcessRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/VisionPrescription" } ], "condition": [ "ctm-3" ] }, { "id": "CarePlan.activity.detail", "path": "CarePlan.activity.detail", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "ctm-3" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CarePlan.activity.detail.id", "path": "CarePlan.activity.detail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CarePlan.activity.detail.extension", "path": "CarePlan.activity.detail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CarePlan.activity.detail.modifierExtension", "path": "CarePlan.activity.detail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CarePlan.activity.detail.category", "path": "CarePlan.activity.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "High-level categorization of the type of activity in a care plan.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity-category" } } }, { "id": "CarePlan.activity.detail.definition", "path": "CarePlan.activity.detail.definition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire" } ] }, { "id": "CarePlan.activity.detail.code", "path": "CarePlan.activity.detail.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity" } } }, { "id": "CarePlan.activity.detail.reasonCode", "path": "CarePlan.activity.detail.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/activity-reason" } } }, { "id": "CarePlan.activity.detail.reasonReference", "path": "CarePlan.activity.detail.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "CarePlan.activity.detail.goal", "path": "CarePlan.activity.detail.goal", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Goal" } ] }, { "id": "CarePlan.activity.detail.status", "path": "CarePlan.activity.detail.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "binding": { "strength": "required", "description": "Indicates where the activity is at in its overall life cycle.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity-status" } } }, { "id": "CarePlan.activity.detail.statusReason", "path": "CarePlan.activity.detail.statusReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Describes why the current activity has the status it does; e.g. \"Recovering from injury\" as a reason for non-started or on-hold, \"Patient does not enjoy activity\" as a reason for cancelling a planned activity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-status-reason" } } }, { "id": "CarePlan.activity.detail.prohibited", "path": "CarePlan.activity.detail.prohibited", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "isModifier": true }, { "id": "CarePlan.activity.detail.scheduled[x]", "path": "CarePlan.activity.detail.scheduled[x]", "min": 0, "max": "1", "type": [ { "code": "Timing" }, { "code": "Period" }, { "code": "string" } ] }, { "id": "CarePlan.activity.detail.location", "path": "CarePlan.activity.detail.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "CarePlan.activity.detail.performer", "path": "CarePlan.activity.detail.performer", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "CarePlan.activity.detail.product[x]", "path": "CarePlan.activity.detail.product[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ], "binding": { "strength": "example", "description": "A product supplied or administered as part of a care plan activity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "CarePlan.activity.detail.dailyAmount", "path": "CarePlan.activity.detail.dailyAmount", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "CarePlan.activity.detail.quantity", "path": "CarePlan.activity.detail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "CarePlan.activity.detail.description", "path": "CarePlan.activity.detail.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CarePlan.note", "path": "CarePlan.note", "min": 0, "max": "1", "type": [ { "code": "Annotation" } ] } ] }, "differential": { "element": [ { "id": "CarePlan", "path": "CarePlan", "min": 0, "max": "*" }, { "id": "CarePlan.identifier", "path": "CarePlan.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "CarePlan.status", "path": "CarePlan.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-status" } } }, { "id": "CarePlan.category", "path": "CarePlan.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-category" } } }, { "id": "CarePlan.description", "path": "CarePlan.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CarePlan.subject", "path": "CarePlan.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "CarePlan.context", "path": "CarePlan.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "CarePlan.period", "path": "CarePlan.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "CarePlan.modified", "path": "CarePlan.modified", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CarePlan.author", "path": "CarePlan.author", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "CarePlan.careTeam", "path": "CarePlan.careTeam", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ] }, { "id": "CarePlan.addresses", "path": "CarePlan.addresses", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "isSummary": true }, { "id": "CarePlan.support", "path": "CarePlan.support", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "CarePlan.definition", "path": "CarePlan.definition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire" } ] }, { "id": "CarePlan.relatedPlan", "path": "CarePlan.relatedPlan", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CarePlan.relatedPlan.code", "path": "CarePlan.relatedPlan.code", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Codes identifying the types of relationships between two plans.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-relationship" } } }, { "id": "CarePlan.relatedPlan.plan", "path": "CarePlan.relatedPlan.plan", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" } ] }, { "id": "CarePlan.goal", "path": "CarePlan.goal", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Goal" } ] }, { "id": "CarePlan.activity", "path": "CarePlan.activity", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ctm-3", "severity": "error", "human": "Provide a reference or detail, not both", "expression": "detail.empty() or reference.empty()", "xpath": "not(exists(f:detail)) or not(exists(f:reference))" } ] }, { "id": "CarePlan.activity.actionResulting", "path": "CarePlan.activity.actionResulting", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "CarePlan.activity.outcome", "path": "CarePlan.activity.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Identifies the results of the activity" } }, { "id": "CarePlan.activity.progress", "path": "CarePlan.activity.progress", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "CarePlan.activity.reference", "path": "CarePlan.activity.reference", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcessRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/VisionPrescription" } ], "condition": [ "ctm-3" ] }, { "id": "CarePlan.activity.detail", "path": "CarePlan.activity.detail", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "ctm-3" ] }, { "id": "CarePlan.activity.detail.category", "path": "CarePlan.activity.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "High-level categorization of the type of activity in a care plan.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity-category" } } }, { "id": "CarePlan.activity.detail.definition", "path": "CarePlan.activity.detail.definition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire" } ] }, { "id": "CarePlan.activity.detail.code", "path": "CarePlan.activity.detail.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity" } } }, { "id": "CarePlan.activity.detail.reasonCode", "path": "CarePlan.activity.detail.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/activity-reason" } } }, { "id": "CarePlan.activity.detail.reasonReference", "path": "CarePlan.activity.detail.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "CarePlan.activity.detail.goal", "path": "CarePlan.activity.detail.goal", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Goal" } ] }, { "id": "CarePlan.activity.detail.status", "path": "CarePlan.activity.detail.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "binding": { "strength": "required", "description": "Indicates where the activity is at in its overall life cycle.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity-status" } } }, { "id": "CarePlan.activity.detail.statusReason", "path": "CarePlan.activity.detail.statusReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Describes why the current activity has the status it does; e.g. \"Recovering from injury\" as a reason for non-started or on-hold, \"Patient does not enjoy activity\" as a reason for cancelling a planned activity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-status-reason" } } }, { "id": "CarePlan.activity.detail.prohibited", "path": "CarePlan.activity.detail.prohibited", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "isModifier": true }, { "id": "CarePlan.activity.detail.scheduled[x]", "path": "CarePlan.activity.detail.scheduled[x]", "min": 0, "max": "1", "type": [ { "code": "Timing" }, { "code": "Period" }, { "code": "string" } ] }, { "id": "CarePlan.activity.detail.location", "path": "CarePlan.activity.detail.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "CarePlan.activity.detail.performer", "path": "CarePlan.activity.detail.performer", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "CarePlan.activity.detail.product[x]", "path": "CarePlan.activity.detail.product[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ], "binding": { "strength": "example", "description": "A product supplied or administered as part of a care plan activity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "CarePlan.activity.detail.dailyAmount", "path": "CarePlan.activity.detail.dailyAmount", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "CarePlan.activity.detail.quantity", "path": "CarePlan.activity.detail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "CarePlan.activity.detail.description", "path": "CarePlan.activity.detail.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "CarePlan.note", "path": "CarePlan.note", "min": 0, "max": "1", "type": [ { "code": "Annotation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/CareTeam", "resource": { "resourceType": "StructureDefinition", "id": "CareTeam", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Care Provision" } ], "url": "http://hl7.org/fhir/StructureDefinition/CareTeam", "name": "CareTeam", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "CareTeam", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "CareTeam", "path": "CareTeam", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "CareTeam.id", "path": "CareTeam.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "CareTeam.meta", "path": "CareTeam.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "CareTeam.implicitRules", "path": "CareTeam.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "CareTeam.language", "path": "CareTeam.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "CareTeam.text", "path": "CareTeam.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "CareTeam.contained", "path": "CareTeam.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "CareTeam.extension", "path": "CareTeam.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CareTeam.modifierExtension", "path": "CareTeam.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "CareTeam.identifier", "path": "CareTeam.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "CareTeam.status", "path": "CareTeam.status", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true }, { "id": "CareTeam.category", "path": "CareTeam.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "CareTeam.name", "path": "CareTeam.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CareTeam.subject", "path": "CareTeam.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "CareTeam.period", "path": "CareTeam.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "CareTeam.participant", "path": "CareTeam.participant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "CareTeam.participant.id", "path": "CareTeam.participant.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CareTeam.participant.extension", "path": "CareTeam.participant.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CareTeam.participant.modifierExtension", "path": "CareTeam.participant.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CareTeam.participant.role", "path": "CareTeam.participant.role", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participant-role" } } }, { "id": "CareTeam.participant.member", "path": "CareTeam.participant.member", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "CareTeam.participant.period", "path": "CareTeam.participant.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "CareTeam.managingOrganization", "path": "CareTeam.managingOrganization", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "CareTeam", "path": "CareTeam", "min": 0, "max": "*" }, { "id": "CareTeam.identifier", "path": "CareTeam.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "CareTeam.status", "path": "CareTeam.status", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true }, { "id": "CareTeam.category", "path": "CareTeam.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "CareTeam.name", "path": "CareTeam.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CareTeam.subject", "path": "CareTeam.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "CareTeam.period", "path": "CareTeam.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "CareTeam.participant", "path": "CareTeam.participant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "CareTeam.participant.role", "path": "CareTeam.participant.role", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participant-role" } } }, { "id": "CareTeam.participant.member", "path": "CareTeam.participant.member", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "CareTeam.participant.period", "path": "CareTeam.participant.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "CareTeam.managingOrganization", "path": "CareTeam.managingOrganization", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Claim", "resource": { "resourceType": "StructureDefinition", "id": "Claim", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Billing" } ], "url": "http://hl7.org/fhir/StructureDefinition/Claim", "name": "Claim", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Claim", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Claim", "path": "Claim", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Claim.id", "path": "Claim.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Claim.meta", "path": "Claim.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Claim.implicitRules", "path": "Claim.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.language", "path": "Claim.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Claim.text", "path": "Claim.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Claim.contained", "path": "Claim.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Claim.extension", "path": "Claim.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.modifierExtension", "path": "Claim.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Claim.identifier", "path": "Claim.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Claim.status", "path": "Claim.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "Claim.type", "path": "Claim.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The type or discipline-style of the claim", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-type" } } }, { "id": "Claim.subType", "path": "Claim.subType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A more granular claim typecode", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-subtype" } } }, { "id": "Claim.use", "path": "Claim.use", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Complete, proposed, exploratory, other", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-use" } } }, { "id": "Claim.patient", "path": "Claim.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "Claim.billablePeriod", "path": "Claim.billablePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Claim.created", "path": "Claim.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Claim.enterer", "path": "Claim.enterer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Claim.insurer", "path": "Claim.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Claim.provider", "path": "Claim.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Claim.organization", "path": "Claim.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Claim.priority", "path": "Claim.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The timeliness with which processing is required: STAT, normal, Deferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/process-priority" } } }, { "id": "Claim.fundsReserve", "path": "Claim.fundsReserve", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "For whom funds are to be reserved: (Patient, Provider, None).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fundsreserve" } } }, { "id": "Claim.related", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RelatedClaim" } ], "path": "Claim.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.related.id", "path": "Claim.related.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.related.extension", "path": "Claim.related.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.related.modifierExtension", "path": "Claim.related.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.related.claim", "path": "Claim.related.claim", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Claim" } ] }, { "id": "Claim.related.relationship", "path": "Claim.related.relationship", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Relationship of this claim to a related Claim", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/related-claim-relationship" } } }, { "id": "Claim.related.reference", "path": "Claim.related.reference", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Claim.prescription", "path": "Claim.prescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/VisionPrescription" } ] }, { "id": "Claim.originalPrescription", "path": "Claim.originalPrescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "Claim.payee", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Payee" } ], "path": "Claim.payee", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.payee.id", "path": "Claim.payee.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.payee.extension", "path": "Claim.payee.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.payee.modifierExtension", "path": "Claim.payee.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.payee.type", "path": "Claim.payee.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A code for the party to be reimbursed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payeetype" } } }, { "id": "Claim.payee.resourceType", "path": "Claim.payee.resourceType", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "example", "description": "The type of payee Resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-payee-resource-type" } } }, { "id": "Claim.payee.party", "path": "Claim.payee.party", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "Claim.referral", "path": "Claim.referral", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "Claim.facility", "path": "Claim.facility", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Claim.careTeam", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "CareTeam" } ], "path": "Claim.careTeam", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.careTeam.id", "path": "Claim.careTeam.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.careTeam.extension", "path": "Claim.careTeam.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.careTeam.modifierExtension", "path": "Claim.careTeam.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.careTeam.sequence", "path": "Claim.careTeam.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.careTeam.provider", "path": "Claim.careTeam.provider", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Claim.careTeam.responsible", "path": "Claim.careTeam.responsible", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Claim.careTeam.role", "path": "Claim.careTeam.role", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The role codes for the care team members.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-careteamrole" } } }, { "id": "Claim.careTeam.qualification", "path": "Claim.careTeam.qualification", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Provider professional qualifications", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/provider-qualification" } } }, { "id": "Claim.information", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SpecialCondition" } ], "path": "Claim.information", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.information.id", "path": "Claim.information.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.information.extension", "path": "Claim.information.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.information.modifierExtension", "path": "Claim.information.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.information.category", "path": "Claim.information.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The valuset used for additional information category codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-informationcategory" } } }, { "id": "Claim.information.code", "path": "Claim.information.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The valuset used for additional information codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-exception" } } }, { "id": "Claim.information.timing[x]", "path": "Claim.information.timing[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "Claim.information.value[x]", "path": "Claim.information.value[x]", "min": 0, "max": "1", "type": [ { "code": "string" }, { "code": "Quantity" }, { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "Claim.information.reason", "path": "Claim.information.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Reason codes for the missing teeth", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/missing-tooth-reason" } } }, { "id": "Claim.diagnosis", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Diagnosis" } ], "path": "Claim.diagnosis", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.diagnosis.id", "path": "Claim.diagnosis.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.diagnosis.extension", "path": "Claim.diagnosis.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.diagnosis.modifierExtension", "path": "Claim.diagnosis.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.diagnosis.sequence", "path": "Claim.diagnosis.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.diagnosis.diagnosis[x]", "path": "Claim.diagnosis.diagnosis[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "binding": { "strength": "example", "description": "ICD10 Diagnostic codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/icd-10" } } }, { "id": "Claim.diagnosis.type", "path": "Claim.diagnosis.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The type of the diagnosis: admitting, principal, discharge", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-diagnosistype" } } }, { "id": "Claim.diagnosis.packageCode", "path": "Claim.diagnosis.packageCode", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The DRG codes associated with the diagnosis", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup" } } }, { "id": "Claim.procedure", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Procedure" } ], "path": "Claim.procedure", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.procedure.id", "path": "Claim.procedure.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.procedure.extension", "path": "Claim.procedure.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.procedure.modifierExtension", "path": "Claim.procedure.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.procedure.sequence", "path": "Claim.procedure.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.procedure.date", "path": "Claim.procedure.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Claim.procedure.procedure[x]", "path": "Claim.procedure.procedure[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "binding": { "strength": "example", "description": "ICD10 Procedure codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/icd-10-procedures" } } }, { "id": "Claim.insurance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Insurance" } ], "path": "Claim.insurance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.insurance.id", "path": "Claim.insurance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.insurance.extension", "path": "Claim.insurance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.insurance.modifierExtension", "path": "Claim.insurance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.insurance.sequence", "path": "Claim.insurance.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.insurance.focal", "path": "Claim.insurance.focal", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Claim.insurance.coverage", "path": "Claim.insurance.coverage", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "Claim.insurance.businessArrangement", "path": "Claim.insurance.businessArrangement", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Claim.insurance.preAuthRef", "path": "Claim.insurance.preAuthRef", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "Claim.insurance.claimResponse", "path": "Claim.insurance.claimResponse", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClaimResponse" } ] }, { "id": "Claim.accident", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Accident" } ], "path": "Claim.accident", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.accident.id", "path": "Claim.accident.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.accident.extension", "path": "Claim.accident.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.accident.modifierExtension", "path": "Claim.accident.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.accident.date", "path": "Claim.accident.date", "min": 1, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Claim.accident.type", "path": "Claim.accident.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "Type of accident: work place, auto, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActIncidentCode" } } }, { "id": "Claim.accident.location[x]", "path": "Claim.accident.location[x]", "min": 0, "max": "1", "type": [ { "code": "Address" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Claim.employmentImpacted", "path": "Claim.employmentImpacted", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Claim.hospitalization", "path": "Claim.hospitalization", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Claim.item", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Item" } ], "path": "Claim.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.item.id", "path": "Claim.item.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.item.extension", "path": "Claim.item.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.item.modifierExtension", "path": "Claim.item.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.item.sequence", "path": "Claim.item.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.careTeamLinkId", "path": "Claim.item.careTeamLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.diagnosisLinkId", "path": "Claim.item.diagnosisLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.procedureLinkId", "path": "Claim.item.procedureLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.informationLinkId", "path": "Claim.item.informationLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.revenue", "path": "Claim.item.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "Claim.item.category", "path": "Claim.item.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "Claim.item.service", "path": "Claim.item.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "Claim.item.modifier", "path": "Claim.item.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "Claim.item.programCode", "path": "Claim.item.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "Claim.item.serviced[x]", "path": "Claim.item.serviced[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "Claim.item.location[x]", "path": "Claim.item.location[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Address" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "binding": { "strength": "example", "description": "Place of service: pharmcy,school, prison, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-place" } } }, { "id": "Claim.item.quantity", "path": "Claim.item.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Claim.item.unitPrice", "path": "Claim.item.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.factor", "path": "Claim.item.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Claim.item.net", "path": "Claim.item.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.udi", "path": "Claim.item.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "Claim.item.bodySite", "path": "Claim.item.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for the teeth, quadrant, sextant and arch", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/tooth" } } }, { "id": "Claim.item.subSite", "path": "Claim.item.subSite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for the tooth surface and surface combinations", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/surface" } } }, { "id": "Claim.item.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Detail" } ], "path": "Claim.item.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.item.detail.id", "path": "Claim.item.detail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.item.detail.extension", "path": "Claim.item.detail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.item.detail.modifierExtension", "path": "Claim.item.detail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.item.detail.sequence", "path": "Claim.item.detail.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.detail.revenue", "path": "Claim.item.detail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "Claim.item.detail.category", "path": "Claim.item.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "Claim.item.detail.service", "path": "Claim.item.detail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "Claim.item.detail.modifier", "path": "Claim.item.detail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "Claim.item.detail.programCode", "path": "Claim.item.detail.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "Claim.item.detail.quantity", "path": "Claim.item.detail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Claim.item.detail.unitPrice", "path": "Claim.item.detail.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.detail.factor", "path": "Claim.item.detail.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Claim.item.detail.net", "path": "Claim.item.detail.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.detail.udi", "path": "Claim.item.detail.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "Claim.item.detail.subDetail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SubDetail" } ], "path": "Claim.item.detail.subDetail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.item.detail.subDetail.id", "path": "Claim.item.detail.subDetail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.item.detail.subDetail.extension", "path": "Claim.item.detail.subDetail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.item.detail.subDetail.modifierExtension", "path": "Claim.item.detail.subDetail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.item.detail.subDetail.sequence", "path": "Claim.item.detail.subDetail.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.detail.subDetail.revenue", "path": "Claim.item.detail.subDetail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "Claim.item.detail.subDetail.category", "path": "Claim.item.detail.subDetail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "Claim.item.detail.subDetail.service", "path": "Claim.item.detail.subDetail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "Claim.item.detail.subDetail.modifier", "path": "Claim.item.detail.subDetail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "Claim.item.detail.subDetail.programCode", "path": "Claim.item.detail.subDetail.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "Claim.item.detail.subDetail.quantity", "path": "Claim.item.detail.subDetail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Claim.item.detail.subDetail.unitPrice", "path": "Claim.item.detail.subDetail.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.detail.subDetail.factor", "path": "Claim.item.detail.subDetail.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Claim.item.detail.subDetail.net", "path": "Claim.item.detail.subDetail.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.detail.subDetail.udi", "path": "Claim.item.detail.subDetail.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "Claim.item.prosthesis", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Prosthesis" } ], "path": "Claim.item.prosthesis", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Claim.item.prosthesis.id", "path": "Claim.item.prosthesis.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Claim.item.prosthesis.extension", "path": "Claim.item.prosthesis.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Claim.item.prosthesis.modifierExtension", "path": "Claim.item.prosthesis.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Claim.item.prosthesis.initial", "path": "Claim.item.prosthesis.initial", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Claim.item.prosthesis.priorDate", "path": "Claim.item.prosthesis.priorDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Claim.item.prosthesis.priorMaterial", "path": "Claim.item.prosthesis.priorMaterial", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Material of the prior denture or bridge prosthesis. (Oral)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/oral-prosthodontic-material" } } }, { "id": "Claim.total", "path": "Claim.total", "min": 0, "max": "1", "type": [ { "code": "Money" } ] } ] }, "differential": { "element": [ { "id": "Claim", "path": "Claim", "min": 0, "max": "*" }, { "id": "Claim.identifier", "path": "Claim.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Claim.status", "path": "Claim.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "Claim.type", "path": "Claim.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The type or discipline-style of the claim", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-type" } } }, { "id": "Claim.subType", "path": "Claim.subType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A more granular claim typecode", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-subtype" } } }, { "id": "Claim.use", "path": "Claim.use", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Complete, proposed, exploratory, other", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-use" } } }, { "id": "Claim.patient", "path": "Claim.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "Claim.billablePeriod", "path": "Claim.billablePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Claim.created", "path": "Claim.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Claim.enterer", "path": "Claim.enterer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Claim.insurer", "path": "Claim.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Claim.provider", "path": "Claim.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Claim.organization", "path": "Claim.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Claim.priority", "path": "Claim.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The timeliness with which processing is required: STAT, normal, Deferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/process-priority" } } }, { "id": "Claim.fundsReserve", "path": "Claim.fundsReserve", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "For whom funds are to be reserved: (Patient, Provider, None).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fundsreserve" } } }, { "id": "Claim.related", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RelatedClaim" } ], "path": "Claim.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.related.claim", "path": "Claim.related.claim", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Claim" } ] }, { "id": "Claim.related.relationship", "path": "Claim.related.relationship", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Relationship of this claim to a related Claim", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/related-claim-relationship" } } }, { "id": "Claim.related.reference", "path": "Claim.related.reference", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Claim.prescription", "path": "Claim.prescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/VisionPrescription" } ] }, { "id": "Claim.originalPrescription", "path": "Claim.originalPrescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "Claim.payee", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Payee" } ], "path": "Claim.payee", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.payee.type", "path": "Claim.payee.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A code for the party to be reimbursed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payeetype" } } }, { "id": "Claim.payee.resourceType", "path": "Claim.payee.resourceType", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "example", "description": "The type of payee Resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-payee-resource-type" } } }, { "id": "Claim.payee.party", "path": "Claim.payee.party", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "Claim.referral", "path": "Claim.referral", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "Claim.facility", "path": "Claim.facility", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Claim.careTeam", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "CareTeam" } ], "path": "Claim.careTeam", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.careTeam.sequence", "path": "Claim.careTeam.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.careTeam.provider", "path": "Claim.careTeam.provider", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Claim.careTeam.responsible", "path": "Claim.careTeam.responsible", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Claim.careTeam.role", "path": "Claim.careTeam.role", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The role codes for the care team members.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-careteamrole" } } }, { "id": "Claim.careTeam.qualification", "path": "Claim.careTeam.qualification", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Provider professional qualifications", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/provider-qualification" } } }, { "id": "Claim.information", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SpecialCondition" } ], "path": "Claim.information", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.information.category", "path": "Claim.information.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The valuset used for additional information category codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-informationcategory" } } }, { "id": "Claim.information.code", "path": "Claim.information.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The valuset used for additional information codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-exception" } } }, { "id": "Claim.information.timing[x]", "path": "Claim.information.timing[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "Claim.information.value[x]", "path": "Claim.information.value[x]", "min": 0, "max": "1", "type": [ { "code": "string" }, { "code": "Quantity" }, { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "Claim.information.reason", "path": "Claim.information.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Reason codes for the missing teeth", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/missing-tooth-reason" } } }, { "id": "Claim.diagnosis", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Diagnosis" } ], "path": "Claim.diagnosis", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.diagnosis.sequence", "path": "Claim.diagnosis.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.diagnosis.diagnosis[x]", "path": "Claim.diagnosis.diagnosis[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "binding": { "strength": "example", "description": "ICD10 Diagnostic codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/icd-10" } } }, { "id": "Claim.diagnosis.type", "path": "Claim.diagnosis.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The type of the diagnosis: admitting, principal, discharge", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-diagnosistype" } } }, { "id": "Claim.diagnosis.packageCode", "path": "Claim.diagnosis.packageCode", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The DRG codes associated with the diagnosis", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup" } } }, { "id": "Claim.procedure", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Procedure" } ], "path": "Claim.procedure", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.procedure.sequence", "path": "Claim.procedure.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.procedure.date", "path": "Claim.procedure.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Claim.procedure.procedure[x]", "path": "Claim.procedure.procedure[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "binding": { "strength": "example", "description": "ICD10 Procedure codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/icd-10-procedures" } } }, { "id": "Claim.insurance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Insurance" } ], "path": "Claim.insurance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.insurance.sequence", "path": "Claim.insurance.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.insurance.focal", "path": "Claim.insurance.focal", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Claim.insurance.coverage", "path": "Claim.insurance.coverage", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "Claim.insurance.businessArrangement", "path": "Claim.insurance.businessArrangement", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Claim.insurance.preAuthRef", "path": "Claim.insurance.preAuthRef", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "Claim.insurance.claimResponse", "path": "Claim.insurance.claimResponse", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClaimResponse" } ] }, { "id": "Claim.accident", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Accident" } ], "path": "Claim.accident", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.accident.date", "path": "Claim.accident.date", "min": 1, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Claim.accident.type", "path": "Claim.accident.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "Type of accident: work place, auto, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActIncidentCode" } } }, { "id": "Claim.accident.location[x]", "path": "Claim.accident.location[x]", "min": 0, "max": "1", "type": [ { "code": "Address" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Claim.employmentImpacted", "path": "Claim.employmentImpacted", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Claim.hospitalization", "path": "Claim.hospitalization", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Claim.item", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Item" } ], "path": "Claim.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.item.sequence", "path": "Claim.item.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.careTeamLinkId", "path": "Claim.item.careTeamLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.diagnosisLinkId", "path": "Claim.item.diagnosisLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.procedureLinkId", "path": "Claim.item.procedureLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.informationLinkId", "path": "Claim.item.informationLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.revenue", "path": "Claim.item.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "Claim.item.category", "path": "Claim.item.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "Claim.item.service", "path": "Claim.item.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "Claim.item.modifier", "path": "Claim.item.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "Claim.item.programCode", "path": "Claim.item.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "Claim.item.serviced[x]", "path": "Claim.item.serviced[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "Claim.item.location[x]", "path": "Claim.item.location[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Address" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "binding": { "strength": "example", "description": "Place of service: pharmcy,school, prison, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-place" } } }, { "id": "Claim.item.quantity", "path": "Claim.item.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Claim.item.unitPrice", "path": "Claim.item.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.factor", "path": "Claim.item.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Claim.item.net", "path": "Claim.item.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.udi", "path": "Claim.item.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "Claim.item.bodySite", "path": "Claim.item.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for the teeth, quadrant, sextant and arch", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/tooth" } } }, { "id": "Claim.item.subSite", "path": "Claim.item.subSite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for the tooth surface and surface combinations", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/surface" } } }, { "id": "Claim.item.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Detail" } ], "path": "Claim.item.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.item.detail.sequence", "path": "Claim.item.detail.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.detail.revenue", "path": "Claim.item.detail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "Claim.item.detail.category", "path": "Claim.item.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "Claim.item.detail.service", "path": "Claim.item.detail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "Claim.item.detail.modifier", "path": "Claim.item.detail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "Claim.item.detail.programCode", "path": "Claim.item.detail.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "Claim.item.detail.quantity", "path": "Claim.item.detail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Claim.item.detail.unitPrice", "path": "Claim.item.detail.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.detail.factor", "path": "Claim.item.detail.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Claim.item.detail.net", "path": "Claim.item.detail.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.detail.udi", "path": "Claim.item.detail.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "Claim.item.detail.subDetail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SubDetail" } ], "path": "Claim.item.detail.subDetail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.item.detail.subDetail.sequence", "path": "Claim.item.detail.subDetail.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Claim.item.detail.subDetail.revenue", "path": "Claim.item.detail.subDetail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "Claim.item.detail.subDetail.category", "path": "Claim.item.detail.subDetail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "Claim.item.detail.subDetail.service", "path": "Claim.item.detail.subDetail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "Claim.item.detail.subDetail.modifier", "path": "Claim.item.detail.subDetail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "Claim.item.detail.subDetail.programCode", "path": "Claim.item.detail.subDetail.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "Claim.item.detail.subDetail.quantity", "path": "Claim.item.detail.subDetail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Claim.item.detail.subDetail.unitPrice", "path": "Claim.item.detail.subDetail.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.detail.subDetail.factor", "path": "Claim.item.detail.subDetail.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Claim.item.detail.subDetail.net", "path": "Claim.item.detail.subDetail.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Claim.item.detail.subDetail.udi", "path": "Claim.item.detail.subDetail.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "Claim.item.prosthesis", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Prosthesis" } ], "path": "Claim.item.prosthesis", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Claim.item.prosthesis.initial", "path": "Claim.item.prosthesis.initial", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Claim.item.prosthesis.priorDate", "path": "Claim.item.prosthesis.priorDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Claim.item.prosthesis.priorMaterial", "path": "Claim.item.prosthesis.priorMaterial", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Material of the prior denture or bridge prosthesis. (Oral)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/oral-prosthodontic-material" } } }, { "id": "Claim.total", "path": "Claim.total", "min": 0, "max": "1", "type": [ { "code": "Money" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ClaimResponse", "resource": { "resourceType": "StructureDefinition", "id": "ClaimResponse", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Billing" } ], "url": "http://hl7.org/fhir/StructureDefinition/ClaimResponse", "name": "ClaimResponse", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ClaimResponse", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ClaimResponse", "path": "ClaimResponse", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ClaimResponse.id", "path": "ClaimResponse.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ClaimResponse.meta", "path": "ClaimResponse.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ClaimResponse.implicitRules", "path": "ClaimResponse.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.language", "path": "ClaimResponse.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ClaimResponse.text", "path": "ClaimResponse.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ClaimResponse.contained", "path": "ClaimResponse.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ClaimResponse.extension", "path": "ClaimResponse.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.modifierExtension", "path": "ClaimResponse.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ClaimResponse.identifier", "path": "ClaimResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "ClaimResponse.status", "path": "ClaimResponse.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "ClaimResponse.created", "path": "ClaimResponse.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ClaimResponse.insurer", "path": "ClaimResponse.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ClaimResponse.requestProvider", "path": "ClaimResponse.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ClaimResponse.requestOrganization", "path": "ClaimResponse.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ClaimResponse.request", "path": "ClaimResponse.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Claim" } ] }, { "id": "ClaimResponse.outcome", "path": "ClaimResponse.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The result of the claim processing", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "ClaimResponse.disposition", "path": "ClaimResponse.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.payeeType", "path": "ClaimResponse.payeeType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A code for the party to be reimbursed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payeetype" } } }, { "id": "ClaimResponse.item", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Item" } ], "path": "ClaimResponse.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.item.id", "path": "ClaimResponse.item.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.item.extension", "path": "ClaimResponse.item.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.item.modifierExtension", "path": "ClaimResponse.item.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.item.sequenceLinkId", "path": "ClaimResponse.item.sequenceLinkId", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.noteNumber", "path": "ClaimResponse.item.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.adjudication", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Adjudication" } ], "path": "ClaimResponse.item.adjudication", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.item.adjudication.id", "path": "ClaimResponse.item.adjudication.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.item.adjudication.extension", "path": "ClaimResponse.item.adjudication.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.item.adjudication.modifierExtension", "path": "ClaimResponse.item.adjudication.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.item.adjudication.category", "path": "ClaimResponse.item.adjudication.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The adjudication codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication" } } }, { "id": "ClaimResponse.item.adjudication.reason", "path": "ClaimResponse.item.adjudication.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The adjudication reason codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-reason" } } }, { "id": "ClaimResponse.item.adjudication.amount", "path": "ClaimResponse.item.adjudication.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.item.adjudication.value", "path": "ClaimResponse.item.adjudication.value", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ClaimResponse.item.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ItemDetail" } ], "path": "ClaimResponse.item.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.item.detail.id", "path": "ClaimResponse.item.detail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.item.detail.extension", "path": "ClaimResponse.item.detail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.item.detail.modifierExtension", "path": "ClaimResponse.item.detail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.item.detail.sequenceLinkId", "path": "ClaimResponse.item.detail.sequenceLinkId", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.detail.noteNumber", "path": "ClaimResponse.item.detail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.detail.adjudication", "path": "ClaimResponse.item.detail.adjudication", "min": 0, "max": "*", "contentReference": "#ClaimResponse.item.adjudication" }, { "id": "ClaimResponse.item.detail.subDetail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SubDetail" } ], "path": "ClaimResponse.item.detail.subDetail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.item.detail.subDetail.id", "path": "ClaimResponse.item.detail.subDetail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.item.detail.subDetail.extension", "path": "ClaimResponse.item.detail.subDetail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.item.detail.subDetail.modifierExtension", "path": "ClaimResponse.item.detail.subDetail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.item.detail.subDetail.sequenceLinkId", "path": "ClaimResponse.item.detail.subDetail.sequenceLinkId", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.detail.subDetail.noteNumber", "path": "ClaimResponse.item.detail.subDetail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.detail.subDetail.adjudication", "path": "ClaimResponse.item.detail.subDetail.adjudication", "min": 0, "max": "*", "contentReference": "#ClaimResponse.item.adjudication" }, { "id": "ClaimResponse.addItem", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "AddedItem" } ], "path": "ClaimResponse.addItem", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.addItem.id", "path": "ClaimResponse.addItem.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.addItem.extension", "path": "ClaimResponse.addItem.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.addItem.modifierExtension", "path": "ClaimResponse.addItem.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.addItem.sequenceLinkId", "path": "ClaimResponse.addItem.sequenceLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.addItem.revenue", "path": "ClaimResponse.addItem.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ClaimResponse.addItem.category", "path": "ClaimResponse.addItem.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ClaimResponse.addItem.service", "path": "ClaimResponse.addItem.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ClaimResponse.addItem.modifier", "path": "ClaimResponse.addItem.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ClaimResponse.addItem.fee", "path": "ClaimResponse.addItem.fee", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.addItem.noteNumber", "path": "ClaimResponse.addItem.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.addItem.adjudication", "path": "ClaimResponse.addItem.adjudication", "min": 0, "max": "*", "contentReference": "#ClaimResponse.item.adjudication" }, { "id": "ClaimResponse.addItem.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "AddedItemsDetail" } ], "path": "ClaimResponse.addItem.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.addItem.detail.id", "path": "ClaimResponse.addItem.detail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.addItem.detail.extension", "path": "ClaimResponse.addItem.detail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.addItem.detail.modifierExtension", "path": "ClaimResponse.addItem.detail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.addItem.detail.revenue", "path": "ClaimResponse.addItem.detail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ClaimResponse.addItem.detail.category", "path": "ClaimResponse.addItem.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ClaimResponse.addItem.detail.service", "path": "ClaimResponse.addItem.detail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ClaimResponse.addItem.detail.modifier", "path": "ClaimResponse.addItem.detail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ClaimResponse.addItem.detail.fee", "path": "ClaimResponse.addItem.detail.fee", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.addItem.detail.noteNumber", "path": "ClaimResponse.addItem.detail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.addItem.detail.adjudication", "path": "ClaimResponse.addItem.detail.adjudication", "min": 0, "max": "*", "contentReference": "#ClaimResponse.item.adjudication" }, { "id": "ClaimResponse.error", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Error" } ], "path": "ClaimResponse.error", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.error.id", "path": "ClaimResponse.error.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.error.extension", "path": "ClaimResponse.error.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.error.modifierExtension", "path": "ClaimResponse.error.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.error.sequenceLinkId", "path": "ClaimResponse.error.sequenceLinkId", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.error.detailSequenceLinkId", "path": "ClaimResponse.error.detailSequenceLinkId", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.error.subdetailSequenceLinkId", "path": "ClaimResponse.error.subdetailSequenceLinkId", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.error.code", "path": "ClaimResponse.error.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The adjudication error codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-error" } } }, { "id": "ClaimResponse.totalCost", "path": "ClaimResponse.totalCost", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.unallocDeductable", "path": "ClaimResponse.unallocDeductable", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.totalBenefit", "path": "ClaimResponse.totalBenefit", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.payment", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Payment" } ], "path": "ClaimResponse.payment", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.payment.id", "path": "ClaimResponse.payment.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.payment.extension", "path": "ClaimResponse.payment.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.payment.modifierExtension", "path": "ClaimResponse.payment.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.payment.type", "path": "ClaimResponse.payment.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The type (partial, complete) of the payment", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-paymenttype" } } }, { "id": "ClaimResponse.payment.adjustment", "path": "ClaimResponse.payment.adjustment", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.payment.adjustmentReason", "path": "ClaimResponse.payment.adjustmentReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Payment Adjustment reason codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payment-adjustment-reason" } } }, { "id": "ClaimResponse.payment.date", "path": "ClaimResponse.payment.date", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ClaimResponse.payment.amount", "path": "ClaimResponse.payment.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.payment.identifier", "path": "ClaimResponse.payment.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "ClaimResponse.reserved", "path": "ClaimResponse.reserved", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "example", "description": "For whom funds are to be reserved: (Patient, Provider, None).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fundsreserve" } } }, { "id": "ClaimResponse.form", "path": "ClaimResponse.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "ClaimResponse.note", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Note" } ], "path": "ClaimResponse.note", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.note.id", "path": "ClaimResponse.note.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.note.extension", "path": "ClaimResponse.note.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.note.modifierExtension", "path": "ClaimResponse.note.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.note.number", "path": "ClaimResponse.note.number", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.note.type", "path": "ClaimResponse.note.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The presentation types of notes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/note-type" } } }, { "id": "ClaimResponse.note.text", "path": "ClaimResponse.note.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.note.language", "path": "ClaimResponse.note.language", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ClaimResponse.communicationRequest", "path": "ClaimResponse.communicationRequest", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" } ] }, { "id": "ClaimResponse.insurance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Insurance" } ], "path": "ClaimResponse.insurance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClaimResponse.insurance.id", "path": "ClaimResponse.insurance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.insurance.extension", "path": "ClaimResponse.insurance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClaimResponse.insurance.modifierExtension", "path": "ClaimResponse.insurance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClaimResponse.insurance.sequence", "path": "ClaimResponse.insurance.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.insurance.focal", "path": "ClaimResponse.insurance.focal", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ClaimResponse.insurance.coverage", "path": "ClaimResponse.insurance.coverage", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "ClaimResponse.insurance.businessArrangement", "path": "ClaimResponse.insurance.businessArrangement", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.insurance.preAuthRef", "path": "ClaimResponse.insurance.preAuthRef", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.insurance.claimResponse", "path": "ClaimResponse.insurance.claimResponse", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClaimResponse" } ] } ] }, "differential": { "element": [ { "id": "ClaimResponse", "path": "ClaimResponse", "min": 0, "max": "*" }, { "id": "ClaimResponse.identifier", "path": "ClaimResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "ClaimResponse.status", "path": "ClaimResponse.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "ClaimResponse.created", "path": "ClaimResponse.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ClaimResponse.insurer", "path": "ClaimResponse.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ClaimResponse.requestProvider", "path": "ClaimResponse.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ClaimResponse.requestOrganization", "path": "ClaimResponse.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ClaimResponse.request", "path": "ClaimResponse.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Claim" } ] }, { "id": "ClaimResponse.outcome", "path": "ClaimResponse.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The result of the claim processing", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "ClaimResponse.disposition", "path": "ClaimResponse.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.payeeType", "path": "ClaimResponse.payeeType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A code for the party to be reimbursed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payeetype" } } }, { "id": "ClaimResponse.item", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Item" } ], "path": "ClaimResponse.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.item.sequenceLinkId", "path": "ClaimResponse.item.sequenceLinkId", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.noteNumber", "path": "ClaimResponse.item.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.adjudication", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Adjudication" } ], "path": "ClaimResponse.item.adjudication", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.item.adjudication.category", "path": "ClaimResponse.item.adjudication.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The adjudication codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication" } } }, { "id": "ClaimResponse.item.adjudication.reason", "path": "ClaimResponse.item.adjudication.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The adjudication reason codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-reason" } } }, { "id": "ClaimResponse.item.adjudication.amount", "path": "ClaimResponse.item.adjudication.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.item.adjudication.value", "path": "ClaimResponse.item.adjudication.value", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ClaimResponse.item.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ItemDetail" } ], "path": "ClaimResponse.item.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.item.detail.sequenceLinkId", "path": "ClaimResponse.item.detail.sequenceLinkId", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.detail.noteNumber", "path": "ClaimResponse.item.detail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.detail.adjudication", "path": "ClaimResponse.item.detail.adjudication", "min": 0, "max": "*", "contentReference": "#ClaimResponse.item.adjudication" }, { "id": "ClaimResponse.item.detail.subDetail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SubDetail" } ], "path": "ClaimResponse.item.detail.subDetail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.item.detail.subDetail.sequenceLinkId", "path": "ClaimResponse.item.detail.subDetail.sequenceLinkId", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.detail.subDetail.noteNumber", "path": "ClaimResponse.item.detail.subDetail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.item.detail.subDetail.adjudication", "path": "ClaimResponse.item.detail.subDetail.adjudication", "min": 0, "max": "*", "contentReference": "#ClaimResponse.item.adjudication" }, { "id": "ClaimResponse.addItem", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "AddedItem" } ], "path": "ClaimResponse.addItem", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.addItem.sequenceLinkId", "path": "ClaimResponse.addItem.sequenceLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.addItem.revenue", "path": "ClaimResponse.addItem.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ClaimResponse.addItem.category", "path": "ClaimResponse.addItem.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ClaimResponse.addItem.service", "path": "ClaimResponse.addItem.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ClaimResponse.addItem.modifier", "path": "ClaimResponse.addItem.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ClaimResponse.addItem.fee", "path": "ClaimResponse.addItem.fee", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.addItem.noteNumber", "path": "ClaimResponse.addItem.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.addItem.adjudication", "path": "ClaimResponse.addItem.adjudication", "min": 0, "max": "*", "contentReference": "#ClaimResponse.item.adjudication" }, { "id": "ClaimResponse.addItem.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "AddedItemsDetail" } ], "path": "ClaimResponse.addItem.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.addItem.detail.revenue", "path": "ClaimResponse.addItem.detail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ClaimResponse.addItem.detail.category", "path": "ClaimResponse.addItem.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ClaimResponse.addItem.detail.service", "path": "ClaimResponse.addItem.detail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ClaimResponse.addItem.detail.modifier", "path": "ClaimResponse.addItem.detail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ClaimResponse.addItem.detail.fee", "path": "ClaimResponse.addItem.detail.fee", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.addItem.detail.noteNumber", "path": "ClaimResponse.addItem.detail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.addItem.detail.adjudication", "path": "ClaimResponse.addItem.detail.adjudication", "min": 0, "max": "*", "contentReference": "#ClaimResponse.item.adjudication" }, { "id": "ClaimResponse.error", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Error" } ], "path": "ClaimResponse.error", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.error.sequenceLinkId", "path": "ClaimResponse.error.sequenceLinkId", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.error.detailSequenceLinkId", "path": "ClaimResponse.error.detailSequenceLinkId", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.error.subdetailSequenceLinkId", "path": "ClaimResponse.error.subdetailSequenceLinkId", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.error.code", "path": "ClaimResponse.error.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The adjudication error codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-error" } } }, { "id": "ClaimResponse.totalCost", "path": "ClaimResponse.totalCost", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.unallocDeductable", "path": "ClaimResponse.unallocDeductable", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.totalBenefit", "path": "ClaimResponse.totalBenefit", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.payment", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Payment" } ], "path": "ClaimResponse.payment", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.payment.type", "path": "ClaimResponse.payment.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The type (partial, complete) of the payment", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-paymenttype" } } }, { "id": "ClaimResponse.payment.adjustment", "path": "ClaimResponse.payment.adjustment", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.payment.adjustmentReason", "path": "ClaimResponse.payment.adjustmentReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Payment Adjustment reason codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payment-adjustment-reason" } } }, { "id": "ClaimResponse.payment.date", "path": "ClaimResponse.payment.date", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ClaimResponse.payment.amount", "path": "ClaimResponse.payment.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ClaimResponse.payment.identifier", "path": "ClaimResponse.payment.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "ClaimResponse.reserved", "path": "ClaimResponse.reserved", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "example", "description": "For whom funds are to be reserved: (Patient, Provider, None).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fundsreserve" } } }, { "id": "ClaimResponse.form", "path": "ClaimResponse.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "ClaimResponse.note", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Note" } ], "path": "ClaimResponse.note", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.note.number", "path": "ClaimResponse.note.number", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.note.type", "path": "ClaimResponse.note.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The presentation types of notes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/note-type" } } }, { "id": "ClaimResponse.note.text", "path": "ClaimResponse.note.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.note.language", "path": "ClaimResponse.note.language", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ClaimResponse.communicationRequest", "path": "ClaimResponse.communicationRequest", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" } ] }, { "id": "ClaimResponse.insurance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Insurance" } ], "path": "ClaimResponse.insurance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClaimResponse.insurance.sequence", "path": "ClaimResponse.insurance.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ClaimResponse.insurance.focal", "path": "ClaimResponse.insurance.focal", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ClaimResponse.insurance.coverage", "path": "ClaimResponse.insurance.coverage", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "ClaimResponse.insurance.businessArrangement", "path": "ClaimResponse.insurance.businessArrangement", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.insurance.preAuthRef", "path": "ClaimResponse.insurance.preAuthRef", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ClaimResponse.insurance.claimResponse", "path": "ClaimResponse.insurance.claimResponse", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClaimResponse" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression", "resource": { "resourceType": "StructureDefinition", "id": "ClinicalImpression", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/General" } ], "url": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression", "name": "ClinicalImpression", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ClinicalImpression", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ClinicalImpression", "path": "ClinicalImpression", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ClinicalImpression.id", "path": "ClinicalImpression.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ClinicalImpression.meta", "path": "ClinicalImpression.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ClinicalImpression.implicitRules", "path": "ClinicalImpression.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ClinicalImpression.language", "path": "ClinicalImpression.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ClinicalImpression.text", "path": "ClinicalImpression.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ClinicalImpression.contained", "path": "ClinicalImpression.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ClinicalImpression.extension", "path": "ClinicalImpression.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClinicalImpression.modifierExtension", "path": "ClinicalImpression.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ClinicalImpression.identifier", "path": "ClinicalImpression.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ClinicalImpression.status", "path": "ClinicalImpression.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The workflow state of a clinical impression.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/clinical-impression-status" } } }, { "id": "ClinicalImpression.code", "path": "ClinicalImpression.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Identifies categories of clinical impressions. This is a place-holder only. It may be removed" } }, { "id": "ClinicalImpression.description", "path": "ClinicalImpression.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ClinicalImpression.subject", "path": "ClinicalImpression.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "ClinicalImpression.assessor", "path": "ClinicalImpression.assessor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "ClinicalImpression.date", "path": "ClinicalImpression.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ClinicalImpression.effective[x]", "path": "ClinicalImpression.effective[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "ClinicalImpression.context", "path": "ClinicalImpression.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "ClinicalImpression.previous", "path": "ClinicalImpression.previous", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" } ] }, { "id": "ClinicalImpression.problem", "path": "ClinicalImpression.problem", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" } ], "isSummary": true }, { "id": "ClinicalImpression.investigation", "path": "ClinicalImpression.investigation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClinicalImpression.investigation.id", "path": "ClinicalImpression.investigation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClinicalImpression.investigation.extension", "path": "ClinicalImpression.investigation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClinicalImpression.investigation.modifierExtension", "path": "ClinicalImpression.investigation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClinicalImpression.investigation.code", "path": "ClinicalImpression.investigation.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A name/code for a set of investigations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/investigation-sets" } } }, { "id": "ClinicalImpression.investigation.item", "path": "ClinicalImpression.investigation.item", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RiskAssessment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" } ] }, { "id": "ClinicalImpression.protocol", "path": "ClinicalImpression.protocol", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "ClinicalImpression.summary", "path": "ClinicalImpression.summary", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClinicalImpression.finding", "path": "ClinicalImpression.finding", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ClinicalImpression.finding.id", "path": "ClinicalImpression.finding.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ClinicalImpression.finding.extension", "path": "ClinicalImpression.finding.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ClinicalImpression.finding.modifierExtension", "path": "ClinicalImpression.finding.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ClinicalImpression.finding.item[x]", "path": "ClinicalImpression.finding.item[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "binding": { "strength": "example", "description": "Identification of the Condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "ClinicalImpression.finding.basis", "path": "ClinicalImpression.finding.basis", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClinicalImpression.prognosisCodeableConcept", "path": "ClinicalImpression.prognosisCodeableConcept", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Prognosis or outlook findings", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/clinicalimpression-prognosis" } } }, { "id": "ClinicalImpression.prognosisReference", "path": "ClinicalImpression.prognosisReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RiskAssessment" } ] }, { "id": "ClinicalImpression.action", "path": "ClinicalImpression.action", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" } ] }, { "id": "ClinicalImpression.note", "path": "ClinicalImpression.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] }, "differential": { "element": [ { "id": "ClinicalImpression", "path": "ClinicalImpression", "min": 0, "max": "*" }, { "id": "ClinicalImpression.identifier", "path": "ClinicalImpression.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ClinicalImpression.status", "path": "ClinicalImpression.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The workflow state of a clinical impression.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/clinical-impression-status" } } }, { "id": "ClinicalImpression.code", "path": "ClinicalImpression.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Identifies categories of clinical impressions. This is a place-holder only. It may be removed" } }, { "id": "ClinicalImpression.description", "path": "ClinicalImpression.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ClinicalImpression.subject", "path": "ClinicalImpression.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "ClinicalImpression.assessor", "path": "ClinicalImpression.assessor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "ClinicalImpression.date", "path": "ClinicalImpression.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ClinicalImpression.effective[x]", "path": "ClinicalImpression.effective[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "ClinicalImpression.context", "path": "ClinicalImpression.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "ClinicalImpression.previous", "path": "ClinicalImpression.previous", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" } ] }, { "id": "ClinicalImpression.problem", "path": "ClinicalImpression.problem", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" } ], "isSummary": true }, { "id": "ClinicalImpression.investigation", "path": "ClinicalImpression.investigation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClinicalImpression.investigation.code", "path": "ClinicalImpression.investigation.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A name/code for a set of investigations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/investigation-sets" } } }, { "id": "ClinicalImpression.investigation.item", "path": "ClinicalImpression.investigation.item", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RiskAssessment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" } ] }, { "id": "ClinicalImpression.protocol", "path": "ClinicalImpression.protocol", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "ClinicalImpression.summary", "path": "ClinicalImpression.summary", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClinicalImpression.finding", "path": "ClinicalImpression.finding", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ClinicalImpression.finding.item[x]", "path": "ClinicalImpression.finding.item[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "binding": { "strength": "example", "description": "Identification of the Condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "ClinicalImpression.finding.basis", "path": "ClinicalImpression.finding.basis", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ClinicalImpression.prognosisCodeableConcept", "path": "ClinicalImpression.prognosisCodeableConcept", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Prognosis or outlook findings", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/clinicalimpression-prognosis" } } }, { "id": "ClinicalImpression.prognosisReference", "path": "ClinicalImpression.prognosisReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RiskAssessment" } ] }, { "id": "ClinicalImpression.action", "path": "ClinicalImpression.action", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" } ] }, { "id": "ClinicalImpression.note", "path": "ClinicalImpression.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Communication", "resource": { "resourceType": "StructureDefinition", "id": "Communication", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Patient Management" } ], "url": "http://hl7.org/fhir/StructureDefinition/Communication", "name": "Communication", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Communication", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Communication", "path": "Communication", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Communication.id", "path": "Communication.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Communication.meta", "path": "Communication.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Communication.implicitRules", "path": "Communication.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Communication.language", "path": "Communication.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Communication.text", "path": "Communication.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Communication.contained", "path": "Communication.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Communication.extension", "path": "Communication.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Communication.modifierExtension", "path": "Communication.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Communication.identifier", "path": "Communication.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Communication.basedOn", "path": "Communication.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Communication.parent", "path": "Communication.parent", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Communication.status", "path": "Communication.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the communication.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/communication-status" } } }, { "id": "Communication.category", "path": "Communication.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for general categories of communications such as alerts, instruction, etc." } }, { "id": "Communication.medium", "path": "Communication.medium", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for communication mediums such as phone, fax, email, in person, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationMode" } } }, { "id": "Communication.subject", "path": "Communication.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "Communication.topic", "path": "Communication.topic", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Communication.context", "path": "Communication.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "Communication.sent", "path": "Communication.sent", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Communication.received", "path": "Communication.received", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Communication.sender", "path": "Communication.sender", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Communication.recipient", "path": "Communication.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "Communication.reason", "path": "Communication.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for describing reasons for the occurrence of a communication.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActReason" } } }, { "id": "Communication.payload", "path": "Communication.payload", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Communication.payload.id", "path": "Communication.payload.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Communication.payload.extension", "path": "Communication.payload.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Communication.payload.modifierExtension", "path": "Communication.payload.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Communication.payload.content[x]", "path": "Communication.payload.content[x]", "min": 1, "max": "1", "type": [ { "code": "string" }, { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Communication.note", "path": "Communication.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "Communication", "path": "Communication", "min": 0, "max": "*" }, { "id": "Communication.identifier", "path": "Communication.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Communication.basedOn", "path": "Communication.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Communication.parent", "path": "Communication.parent", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Communication.status", "path": "Communication.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the communication.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/communication-status" } } }, { "id": "Communication.category", "path": "Communication.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for general categories of communications such as alerts, instruction, etc." } }, { "id": "Communication.medium", "path": "Communication.medium", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for communication mediums such as phone, fax, email, in person, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationMode" } } }, { "id": "Communication.subject", "path": "Communication.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "Communication.topic", "path": "Communication.topic", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Communication.context", "path": "Communication.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "Communication.sent", "path": "Communication.sent", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Communication.received", "path": "Communication.received", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Communication.sender", "path": "Communication.sender", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Communication.recipient", "path": "Communication.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "Communication.reason", "path": "Communication.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for describing reasons for the occurrence of a communication.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActReason" } } }, { "id": "Communication.payload", "path": "Communication.payload", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Communication.payload.content[x]", "path": "Communication.payload.content[x]", "min": 1, "max": "1", "type": [ { "code": "string" }, { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Communication.note", "path": "Communication.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest", "resource": { "resourceType": "StructureDefinition", "id": "CommunicationRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Patient Management" } ], "url": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest", "name": "CommunicationRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "CommunicationRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "CommunicationRequest", "path": "CommunicationRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "CommunicationRequest.id", "path": "CommunicationRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "CommunicationRequest.meta", "path": "CommunicationRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "CommunicationRequest.implicitRules", "path": "CommunicationRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "CommunicationRequest.language", "path": "CommunicationRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "CommunicationRequest.text", "path": "CommunicationRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "CommunicationRequest.contained", "path": "CommunicationRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "CommunicationRequest.extension", "path": "CommunicationRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CommunicationRequest.modifierExtension", "path": "CommunicationRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "CommunicationRequest.identifier", "path": "CommunicationRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "CommunicationRequest.category", "path": "CommunicationRequest.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for general categories of communications such as alerts, instruction, etc." } }, { "id": "CommunicationRequest.sender", "path": "CommunicationRequest.sender", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "CommunicationRequest.recipient", "path": "CommunicationRequest.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ], "isSummary": true }, { "id": "CommunicationRequest.payload", "path": "CommunicationRequest.payload", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CommunicationRequest.payload.id", "path": "CommunicationRequest.payload.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CommunicationRequest.payload.extension", "path": "CommunicationRequest.payload.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CommunicationRequest.payload.modifierExtension", "path": "CommunicationRequest.payload.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CommunicationRequest.payload.content[x]", "path": "CommunicationRequest.payload.content[x]", "min": 1, "max": "1", "type": [ { "code": "string" }, { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "CommunicationRequest.medium", "path": "CommunicationRequest.medium", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for communication mediums such as phone, fax, email, in person, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationMode" } } }, { "id": "CommunicationRequest.requester", "path": "CommunicationRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "CommunicationRequest.status", "path": "CommunicationRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the communication.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/communication-request-status" } } }, { "id": "CommunicationRequest.topic", "path": "CommunicationRequest.topic", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "CommunicationRequest.context", "path": "CommunicationRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "CommunicationRequest.scheduled[x]", "path": "CommunicationRequest.scheduled[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "CommunicationRequest.reason", "path": "CommunicationRequest.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for describing reasons for the occurrence of a communication.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActReason" } } }, { "id": "CommunicationRequest.requestedOn", "path": "CommunicationRequest.requestedOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CommunicationRequest.subject", "path": "CommunicationRequest.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "CommunicationRequest.priority", "path": "CommunicationRequest.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes indicating the relative importance of a communication request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-priority" } } } ] }, "differential": { "element": [ { "id": "CommunicationRequest", "path": "CommunicationRequest", "min": 0, "max": "*" }, { "id": "CommunicationRequest.identifier", "path": "CommunicationRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "CommunicationRequest.category", "path": "CommunicationRequest.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for general categories of communications such as alerts, instruction, etc." } }, { "id": "CommunicationRequest.sender", "path": "CommunicationRequest.sender", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "CommunicationRequest.recipient", "path": "CommunicationRequest.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ], "isSummary": true }, { "id": "CommunicationRequest.payload", "path": "CommunicationRequest.payload", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "CommunicationRequest.payload.content[x]", "path": "CommunicationRequest.payload.content[x]", "min": 1, "max": "1", "type": [ { "code": "string" }, { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "CommunicationRequest.medium", "path": "CommunicationRequest.medium", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for communication mediums such as phone, fax, email, in person, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationMode" } } }, { "id": "CommunicationRequest.requester", "path": "CommunicationRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "CommunicationRequest.status", "path": "CommunicationRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the communication.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/communication-request-status" } } }, { "id": "CommunicationRequest.topic", "path": "CommunicationRequest.topic", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "CommunicationRequest.context", "path": "CommunicationRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "CommunicationRequest.scheduled[x]", "path": "CommunicationRequest.scheduled[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "CommunicationRequest.reason", "path": "CommunicationRequest.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for describing reasons for the occurrence of a communication.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActReason" } } }, { "id": "CommunicationRequest.requestedOn", "path": "CommunicationRequest.requestedOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CommunicationRequest.subject", "path": "CommunicationRequest.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "CommunicationRequest.priority", "path": "CommunicationRequest.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes indicating the relative importance of a communication request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-priority" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/CompartmentDefinition", "resource": { "resourceType": "StructureDefinition", "id": "CompartmentDefinition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Content" } ], "url": "http://hl7.org/fhir/StructureDefinition/CompartmentDefinition", "name": "CompartmentDefinition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "CompartmentDefinition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "CompartmentDefinition", "path": "CompartmentDefinition", "min": 1, "max": "1", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "CompartmentDefinition.id", "path": "CompartmentDefinition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "CompartmentDefinition.meta", "path": "CompartmentDefinition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "CompartmentDefinition.implicitRules", "path": "CompartmentDefinition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "CompartmentDefinition.language", "path": "CompartmentDefinition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "CompartmentDefinition.text", "path": "CompartmentDefinition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "CompartmentDefinition.contained", "path": "CompartmentDefinition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "CompartmentDefinition.extension", "path": "CompartmentDefinition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CompartmentDefinition.modifierExtension", "path": "CompartmentDefinition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "CompartmentDefinition.url", "path": "CompartmentDefinition.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CompartmentDefinition.name", "path": "CompartmentDefinition.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CompartmentDefinition.title", "path": "CompartmentDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CompartmentDefinition.status", "path": "CompartmentDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "CompartmentDefinition.experimental", "path": "CompartmentDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "CompartmentDefinition.publisher", "path": "CompartmentDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CompartmentDefinition.contact", "path": "CompartmentDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "CompartmentDefinition.date", "path": "CompartmentDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CompartmentDefinition.description", "path": "CompartmentDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CompartmentDefinition.purpose", "path": "CompartmentDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CompartmentDefinition.useContext", "path": "CompartmentDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "CompartmentDefinition.jurisdiction", "path": "CompartmentDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "CompartmentDefinition.code", "path": "CompartmentDefinition.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Which compartment a compartmnet definition describes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/compartment-type" } } }, { "id": "CompartmentDefinition.search", "path": "CompartmentDefinition.search", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CompartmentDefinition.resource", "path": "CompartmentDefinition.resource", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "CompartmentDefinition.resource.id", "path": "CompartmentDefinition.resource.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "CompartmentDefinition.resource.extension", "path": "CompartmentDefinition.resource.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "CompartmentDefinition.resource.modifierExtension", "path": "CompartmentDefinition.resource.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "CompartmentDefinition.resource.code", "path": "CompartmentDefinition.resource.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "CompartmentDefinition.resource.param", "path": "CompartmentDefinition.resource.param", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CompartmentDefinition.resource.documentation", "path": "CompartmentDefinition.resource.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "CompartmentDefinition", "path": "CompartmentDefinition", "min": 1, "max": "1" }, { "id": "CompartmentDefinition.url", "path": "CompartmentDefinition.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "CompartmentDefinition.name", "path": "CompartmentDefinition.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CompartmentDefinition.title", "path": "CompartmentDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CompartmentDefinition.status", "path": "CompartmentDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "CompartmentDefinition.experimental", "path": "CompartmentDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "CompartmentDefinition.publisher", "path": "CompartmentDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CompartmentDefinition.contact", "path": "CompartmentDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "CompartmentDefinition.date", "path": "CompartmentDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "CompartmentDefinition.description", "path": "CompartmentDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CompartmentDefinition.purpose", "path": "CompartmentDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "CompartmentDefinition.useContext", "path": "CompartmentDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "CompartmentDefinition.jurisdiction", "path": "CompartmentDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "CompartmentDefinition.code", "path": "CompartmentDefinition.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Which compartment a compartmnet definition describes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/compartment-type" } } }, { "id": "CompartmentDefinition.search", "path": "CompartmentDefinition.search", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "CompartmentDefinition.resource", "path": "CompartmentDefinition.resource", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "CompartmentDefinition.resource.code", "path": "CompartmentDefinition.resource.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "CompartmentDefinition.resource.param", "path": "CompartmentDefinition.resource.param", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "CompartmentDefinition.resource.documentation", "path": "CompartmentDefinition.resource.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Composition", "resource": { "resourceType": "StructureDefinition", "id": "Composition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "sd" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Foundation/Documents & Questionnaires" } ], "url": "http://hl7.org/fhir/StructureDefinition/Composition", "name": "Composition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "To support documents, and also to capture the EN13606 notion of an attested commit to the patient EHR, and to allow a set of disparate resources at the information/engineering level to be gathered into a clinical statement.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Composition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Composition", "path": "Composition", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Composition.id", "path": "Composition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Composition.meta", "path": "Composition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Composition.implicitRules", "path": "Composition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Composition.language", "path": "Composition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Composition.text", "path": "Composition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Composition.contained", "path": "Composition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Composition.extension", "path": "Composition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Composition.modifierExtension", "path": "Composition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Composition.identifier", "path": "Composition.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Composition.date", "path": "Composition.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Composition.type", "path": "Composition.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Type of a composition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/doc-typecodes" } } }, { "id": "Composition.class", "path": "Composition.class", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "High-level kind of a clinical document at a macro level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/doc-classcodes" } } }, { "id": "Composition.title", "path": "Composition.title", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Composition.status", "path": "Composition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The workflow/clinical status of the composition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composition-status" } } }, { "id": "Composition.confidentiality", "path": "Composition.confidentiality", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes specifying the level of confidentiality of the composition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ConfidentialityClassification" } } }, { "id": "Composition.subject", "path": "Composition.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Composition.author", "path": "Composition.author", "min": 1, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Composition.attester", "path": "Composition.attester", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Composition.attester.id", "path": "Composition.attester.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Composition.attester.extension", "path": "Composition.attester.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Composition.attester.modifierExtension", "path": "Composition.attester.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Composition.attester.mode", "path": "Composition.attester.mode", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The way in which a person authenticated a composition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composition-attestation-mode" } } }, { "id": "Composition.attester.time", "path": "Composition.attester.time", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Composition.attester.party", "path": "Composition.attester.party", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Composition.custodian", "path": "Composition.custodian", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Composition.event", "path": "Composition.event", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Composition.event.id", "path": "Composition.event.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Composition.event.extension", "path": "Composition.event.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Composition.event.modifierExtension", "path": "Composition.event.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Composition.event.code", "path": "Composition.event.code", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "This list of codes represents the main clinical acts being documented.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActCode" } } }, { "id": "Composition.event.period", "path": "Composition.event.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Composition.event.detail", "path": "Composition.event.detail", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Composition.encounter", "path": "Composition.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "Composition.section", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Section" } ], "path": "Composition.section", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "cmp-1", "severity": "error", "human": "A section must at least one of text, entries, or sub-sections", "expression": "text.exists() or entry.exists() or section.exists()", "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)" }, { "key": "cmp-2", "severity": "error", "human": "A section can only have an emptyReason if it is empty", "expression": "emptyReason.empty() or entry.empty()", "xpath": "not(exists(f:emptyReason) and exists(f:entry))" } ] }, { "id": "Composition.section.id", "path": "Composition.section.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Composition.section.extension", "path": "Composition.section.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Composition.section.modifierExtension", "path": "Composition.section.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Composition.section.title", "path": "Composition.section.title", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Composition.section.code", "path": "Composition.section.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Classification of a section of a composition/document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/doc-section-codes" } } }, { "id": "Composition.section.text", "path": "Composition.section.text", "min": 0, "max": "1", "type": [ { "code": "Narrative" } ], "condition": [ "cmp-1" ] }, { "id": "Composition.section.mode", "path": "Composition.section.mode", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The processing mode that applies to this section.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-mode" } } }, { "id": "Composition.section.orderedBy", "path": "Composition.section.orderedBy", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "What order applies to the items in the entry.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-order" } } }, { "id": "Composition.section.entry", "path": "Composition.section.entry", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "cmp-2" ] }, { "id": "Composition.section.emptyReason", "path": "Composition.section.emptyReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "cmp-2" ], "binding": { "strength": "preferred", "description": "If a section is empty, why it is empty.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-empty-reason" } } }, { "id": "Composition.section.section", "path": "Composition.section.section", "min": 0, "max": "*", "contentReference": "#Composition.section", "condition": [ "cmp-1" ] } ] }, "differential": { "element": [ { "id": "Composition", "path": "Composition", "min": 0, "max": "*" }, { "id": "Composition.identifier", "path": "Composition.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Composition.date", "path": "Composition.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Composition.type", "path": "Composition.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Type of a composition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/doc-typecodes" } } }, { "id": "Composition.class", "path": "Composition.class", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "High-level kind of a clinical document at a macro level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/doc-classcodes" } } }, { "id": "Composition.title", "path": "Composition.title", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Composition.status", "path": "Composition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The workflow/clinical status of the composition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composition-status" } } }, { "id": "Composition.confidentiality", "path": "Composition.confidentiality", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes specifying the level of confidentiality of the composition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ConfidentialityClassification" } } }, { "id": "Composition.subject", "path": "Composition.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Composition.author", "path": "Composition.author", "min": 1, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Composition.attester", "path": "Composition.attester", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Composition.attester.mode", "path": "Composition.attester.mode", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The way in which a person authenticated a composition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composition-attestation-mode" } } }, { "id": "Composition.attester.time", "path": "Composition.attester.time", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Composition.attester.party", "path": "Composition.attester.party", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Composition.custodian", "path": "Composition.custodian", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Composition.event", "path": "Composition.event", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Composition.event.code", "path": "Composition.event.code", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "This list of codes represents the main clinical acts being documented.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActCode" } } }, { "id": "Composition.event.period", "path": "Composition.event.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Composition.event.detail", "path": "Composition.event.detail", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Composition.encounter", "path": "Composition.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "Composition.section", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Section" } ], "path": "Composition.section", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "cmp-1", "severity": "error", "human": "A section must at least one of text, entries, or sub-sections", "expression": "text.exists() or entry.exists() or section.exists()", "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)" }, { "key": "cmp-2", "severity": "error", "human": "A section can only have an emptyReason if it is empty", "expression": "emptyReason.empty() or entry.empty()", "xpath": "not(exists(f:emptyReason) and exists(f:entry))" } ] }, { "id": "Composition.section.title", "path": "Composition.section.title", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Composition.section.code", "path": "Composition.section.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Classification of a section of a composition/document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/doc-section-codes" } } }, { "id": "Composition.section.text", "path": "Composition.section.text", "min": 0, "max": "1", "type": [ { "code": "Narrative" } ], "condition": [ "cmp-1" ] }, { "id": "Composition.section.mode", "path": "Composition.section.mode", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The processing mode that applies to this section.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-mode" } } }, { "id": "Composition.section.orderedBy", "path": "Composition.section.orderedBy", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "What order applies to the items in the entry.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-order" } } }, { "id": "Composition.section.entry", "path": "Composition.section.entry", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "cmp-2" ] }, { "id": "Composition.section.emptyReason", "path": "Composition.section.emptyReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "cmp-2" ], "binding": { "strength": "preferred", "description": "If a section is empty, why it is empty.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-empty-reason" } } }, { "id": "Composition.section.section", "path": "Composition.section.section", "min": 0, "max": "*", "contentReference": "#Composition.section", "condition": [ "cmp-1" ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ConceptMap", "resource": { "resourceType": "StructureDefinition", "id": "ConceptMap", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "vocab" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Terminology" } ], "url": "http://hl7.org/fhir/StructureDefinition/ConceptMap", "name": "ConceptMap", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ConceptMap", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "ConceptMap", "path": "ConceptMap", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ConceptMap.id", "path": "ConceptMap.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ConceptMap.meta", "path": "ConceptMap.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ConceptMap.implicitRules", "path": "ConceptMap.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ConceptMap.language", "path": "ConceptMap.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ConceptMap.text", "path": "ConceptMap.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ConceptMap.contained", "path": "ConceptMap.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ConceptMap.extension", "path": "ConceptMap.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ConceptMap.modifierExtension", "path": "ConceptMap.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ConceptMap.url", "path": "ConceptMap.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ConceptMap.identifier", "path": "ConceptMap.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ConceptMap.version", "path": "ConceptMap.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ConceptMap.name", "path": "ConceptMap.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ConceptMap.title", "path": "ConceptMap.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ConceptMap.status", "path": "ConceptMap.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ConceptMap.experimental", "path": "ConceptMap.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ConceptMap.publisher", "path": "ConceptMap.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ConceptMap.contact", "path": "ConceptMap.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ConceptMap.date", "path": "ConceptMap.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ConceptMap.description", "path": "ConceptMap.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ConceptMap.useContext", "path": "ConceptMap.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ConceptMap.jurisdiction", "path": "ConceptMap.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ConceptMap.purpose", "path": "ConceptMap.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ConceptMap.copyright", "path": "ConceptMap.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ConceptMap.source[x]", "path": "ConceptMap.source[x]", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet" } ], "isSummary": true }, { "id": "ConceptMap.target[x]", "path": "ConceptMap.target[x]", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet" } ], "isSummary": true }, { "id": "ConceptMap.group", "path": "ConceptMap.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ConceptMap.group.id", "path": "ConceptMap.group.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.extension", "path": "ConceptMap.group.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ConceptMap.group.modifierExtension", "path": "ConceptMap.group.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ConceptMap.group.source", "path": "ConceptMap.group.source", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ConceptMap.group.sourceVersion", "path": "ConceptMap.group.sourceVersion", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.target", "path": "ConceptMap.group.target", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ConceptMap.group.targetVersion", "path": "ConceptMap.group.targetVersion", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.element", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SourceElement" } ], "path": "ConceptMap.group.element", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ConceptMap.group.element.id", "path": "ConceptMap.group.element.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.element.extension", "path": "ConceptMap.group.element.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ConceptMap.group.element.modifierExtension", "path": "ConceptMap.group.element.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ConceptMap.group.element.code", "path": "ConceptMap.group.element.code", "min": 0, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ConceptMap.group.element.target", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TargetElement" } ], "path": "ConceptMap.group.element.target", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "cmd-1", "severity": "error", "human": "If the map is narrower or inexact, there SHALL be some comments", "expression": "comments.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))", "xpath": "exists(f:comments) or not(exists(f:equivalence)) or ((f:equivalence/@value != 'narrower') and (f:equivalence/@value != 'inexact'))" } ] }, { "id": "ConceptMap.group.element.target.id", "path": "ConceptMap.group.element.target.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.element.target.extension", "path": "ConceptMap.group.element.target.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ConceptMap.group.element.target.modifierExtension", "path": "ConceptMap.group.element.target.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ConceptMap.group.element.target.code", "path": "ConceptMap.group.element.target.code", "min": 0, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ConceptMap.group.element.target.equivalence", "path": "ConceptMap.group.element.target.equivalence", "min": 0, "max": "1", "type": [ { "code": "code" } ], "defaultValueCode": "equivalent", "isModifier": true, "binding": { "strength": "required", "description": "The degree of equivalence between concepts.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/concept-map-equivalence" } } }, { "id": "ConceptMap.group.element.target.comments", "path": "ConceptMap.group.element.target.comments", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "cmd-1" ] }, { "id": "ConceptMap.group.element.target.dependsOn", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "OtherElement" } ], "path": "ConceptMap.group.element.target.dependsOn", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ConceptMap.group.element.target.dependsOn.id", "path": "ConceptMap.group.element.target.dependsOn.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.element.target.dependsOn.extension", "path": "ConceptMap.group.element.target.dependsOn.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ConceptMap.group.element.target.dependsOn.modifierExtension", "path": "ConceptMap.group.element.target.dependsOn.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ConceptMap.group.element.target.dependsOn.property", "path": "ConceptMap.group.element.target.dependsOn.property", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ConceptMap.group.element.target.dependsOn.system", "path": "ConceptMap.group.element.target.dependsOn.system", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "meaningWhenMissing": "The code is in the source (dependsOn) or target (product) system" }, { "id": "ConceptMap.group.element.target.dependsOn.code", "path": "ConceptMap.group.element.target.dependsOn.code", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.element.target.product", "path": "ConceptMap.group.element.target.product", "min": 0, "max": "*", "contentReference": "#ConceptMap.group.element.target.dependsOn" } ] }, "differential": { "element": [ { "id": "ConceptMap", "path": "ConceptMap", "min": 0, "max": "*" }, { "id": "ConceptMap.url", "path": "ConceptMap.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ConceptMap.identifier", "path": "ConceptMap.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ConceptMap.version", "path": "ConceptMap.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ConceptMap.name", "path": "ConceptMap.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ConceptMap.title", "path": "ConceptMap.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ConceptMap.status", "path": "ConceptMap.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ConceptMap.experimental", "path": "ConceptMap.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ConceptMap.publisher", "path": "ConceptMap.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ConceptMap.contact", "path": "ConceptMap.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ConceptMap.date", "path": "ConceptMap.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ConceptMap.description", "path": "ConceptMap.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ConceptMap.useContext", "path": "ConceptMap.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ConceptMap.jurisdiction", "path": "ConceptMap.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ConceptMap.purpose", "path": "ConceptMap.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ConceptMap.copyright", "path": "ConceptMap.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ConceptMap.source[x]", "path": "ConceptMap.source[x]", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet" } ], "isSummary": true }, { "id": "ConceptMap.target[x]", "path": "ConceptMap.target[x]", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet" } ], "isSummary": true }, { "id": "ConceptMap.group", "path": "ConceptMap.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ConceptMap.group.source", "path": "ConceptMap.group.source", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ConceptMap.group.sourceVersion", "path": "ConceptMap.group.sourceVersion", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.target", "path": "ConceptMap.group.target", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ConceptMap.group.targetVersion", "path": "ConceptMap.group.targetVersion", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.element", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SourceElement" } ], "path": "ConceptMap.group.element", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ConceptMap.group.element.code", "path": "ConceptMap.group.element.code", "min": 0, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ConceptMap.group.element.target", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TargetElement" } ], "path": "ConceptMap.group.element.target", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "cmd-1", "severity": "error", "human": "If the map is narrower or inexact, there SHALL be some comments", "expression": "comments.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))", "xpath": "exists(f:comments) or not(exists(f:equivalence)) or ((f:equivalence/@value != 'narrower') and (f:equivalence/@value != 'inexact'))" } ] }, { "id": "ConceptMap.group.element.target.code", "path": "ConceptMap.group.element.target.code", "min": 0, "max": "1", "type": [ { "code": "code" } ] }, { "id": "ConceptMap.group.element.target.equivalence", "path": "ConceptMap.group.element.target.equivalence", "min": 0, "max": "1", "type": [ { "code": "code" } ], "defaultValueCode": "equivalent", "isModifier": true, "binding": { "strength": "required", "description": "The degree of equivalence between concepts.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/concept-map-equivalence" } } }, { "id": "ConceptMap.group.element.target.comments", "path": "ConceptMap.group.element.target.comments", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "cmd-1" ] }, { "id": "ConceptMap.group.element.target.dependsOn", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "OtherElement" } ], "path": "ConceptMap.group.element.target.dependsOn", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ConceptMap.group.element.target.dependsOn.property", "path": "ConceptMap.group.element.target.dependsOn.property", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ConceptMap.group.element.target.dependsOn.system", "path": "ConceptMap.group.element.target.dependsOn.system", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "meaningWhenMissing": "The code is in the source (dependsOn) or target (product) system" }, { "id": "ConceptMap.group.element.target.dependsOn.code", "path": "ConceptMap.group.element.target.dependsOn.code", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ConceptMap.group.element.target.product", "path": "ConceptMap.group.element.target.product", "min": 0, "max": "*", "contentReference": "#ConceptMap.group.element.target.dependsOn" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Condition", "resource": { "resourceType": "StructureDefinition", "id": "Condition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/General" } ], "url": "http://hl7.org/fhir/StructureDefinition/Condition", "name": "Condition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Condition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Condition", "path": "Condition", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "con-4", "severity": "error", "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" }, { "key": "con-3", "severity": "error", "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" } ] }, { "id": "Condition.id", "path": "Condition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Condition.meta", "path": "Condition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Condition.implicitRules", "path": "Condition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Condition.language", "path": "Condition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Condition.text", "path": "Condition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Condition.contained", "path": "Condition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Condition.extension", "path": "Condition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Condition.modifierExtension", "path": "Condition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Condition.identifier", "path": "Condition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Condition.clinicalStatus", "path": "Condition.clinicalStatus", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The clinical status of the condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-clinical" } } }, { "id": "Condition.verificationStatus", "path": "Condition.verificationStatus", "min": 0, "max": "1", "type": [ { "code": "code" } ], "defaultValueCode": "unknown", "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The verification status to support or decline the clinical status of the condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-ver-status" } } }, { "id": "Condition.category", "path": "Condition.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A category assigned to the condition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-category" } } }, { "id": "Condition.severity", "path": "Condition.severity", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-severity" } } }, { "id": "Condition.code", "path": "Condition.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Identification of the condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "Condition.bodySite", "path": "Condition.bodySite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "Condition.subject", "path": "Condition.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "Condition.context", "path": "Condition.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ] }, { "id": "Condition.onset[x]", "path": "Condition.onset[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Age" }, { "code": "Period" }, { "code": "Range" }, { "code": "string" } ], "isSummary": true }, { "id": "Condition.abatement[x]", "path": "Condition.abatement[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Age" }, { "code": "boolean" }, { "code": "Period" }, { "code": "Range" }, { "code": "string" } ] }, { "id": "Condition.assertedDate", "path": "Condition.assertedDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Condition.asserter", "path": "Condition.asserter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Condition.stage", "path": "Condition.stage", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "con-1", "severity": "error", "human": "Stage SHALL have summary or assessment", "expression": "summary.exists() or assessment.exists()", "xpath": "exists(f:summary) or exists(f:assessment)" } ] }, { "id": "Condition.stage.id", "path": "Condition.stage.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Condition.stage.extension", "path": "Condition.stage.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Condition.stage.modifierExtension", "path": "Condition.stage.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Condition.stage.summary", "path": "Condition.stage.summary", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "con-1" ], "binding": { "strength": "example", "description": "Codes describing condition stages (e.g. Cancer stages).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-stage" } } }, { "id": "Condition.stage.assessment", "path": "Condition.stage.assessment", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "condition": [ "con-1" ] }, { "id": "Condition.evidence", "path": "Condition.evidence", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "con-2", "severity": "error", "human": "evidence SHALL have code or details", "expression": "code.exists() or detail.exists()", "xpath": "exists(f:code) or exists(f:detail)" } ] }, { "id": "Condition.evidence.id", "path": "Condition.evidence.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Condition.evidence.extension", "path": "Condition.evidence.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Condition.evidence.modifierExtension", "path": "Condition.evidence.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Condition.evidence.code", "path": "Condition.evidence.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "con-2" ], "binding": { "strength": "example", "description": "Codes that describe the manifestation or symptoms of a condition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom" } } }, { "id": "Condition.evidence.detail", "path": "Condition.evidence.detail", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "con-2" ] }, { "id": "Condition.note", "path": "Condition.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] }, "differential": { "element": [ { "id": "Condition", "path": "Condition", "min": 0, "max": "*", "constraint": [ { "key": "con-4", "severity": "error", "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" }, { "key": "con-3", "severity": "error", "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" } ] }, { "id": "Condition.identifier", "path": "Condition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Condition.clinicalStatus", "path": "Condition.clinicalStatus", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The clinical status of the condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-clinical" } } }, { "id": "Condition.verificationStatus", "path": "Condition.verificationStatus", "min": 0, "max": "1", "type": [ { "code": "code" } ], "defaultValueCode": "unknown", "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The verification status to support or decline the clinical status of the condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-ver-status" } } }, { "id": "Condition.category", "path": "Condition.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A category assigned to the condition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-category" } } }, { "id": "Condition.severity", "path": "Condition.severity", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-severity" } } }, { "id": "Condition.code", "path": "Condition.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Identification of the condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "Condition.bodySite", "path": "Condition.bodySite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "Condition.subject", "path": "Condition.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "Condition.context", "path": "Condition.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ] }, { "id": "Condition.onset[x]", "path": "Condition.onset[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Age" }, { "code": "Period" }, { "code": "Range" }, { "code": "string" } ], "isSummary": true }, { "id": "Condition.abatement[x]", "path": "Condition.abatement[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Age" }, { "code": "boolean" }, { "code": "Period" }, { "code": "Range" }, { "code": "string" } ] }, { "id": "Condition.assertedDate", "path": "Condition.assertedDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Condition.asserter", "path": "Condition.asserter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Condition.stage", "path": "Condition.stage", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "con-1", "severity": "error", "human": "Stage SHALL have summary or assessment", "expression": "summary.exists() or assessment.exists()", "xpath": "exists(f:summary) or exists(f:assessment)" } ] }, { "id": "Condition.stage.summary", "path": "Condition.stage.summary", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "con-1" ], "binding": { "strength": "example", "description": "Codes describing condition stages (e.g. Cancer stages).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-stage" } } }, { "id": "Condition.stage.assessment", "path": "Condition.stage.assessment", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "condition": [ "con-1" ] }, { "id": "Condition.evidence", "path": "Condition.evidence", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "con-2", "severity": "error", "human": "evidence SHALL have code or details", "expression": "code.exists() or detail.exists()", "xpath": "exists(f:code) or exists(f:detail)" } ] }, { "id": "Condition.evidence.code", "path": "Condition.evidence.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "con-2" ], "binding": { "strength": "example", "description": "Codes that describe the manifestation or symptoms of a condition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom" } } }, { "id": "Condition.evidence.detail", "path": "Condition.evidence.detail", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "con-2" ] }, { "id": "Condition.note", "path": "Condition.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Consent", "resource": { "resourceType": "StructureDefinition", "id": "Consent", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cbcc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Security & Privacy" } ], "url": "http://hl7.org/fhir/StructureDefinition/Consent", "name": "Consent", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Consent", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Consent", "path": "Consent", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Consent.id", "path": "Consent.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Consent.meta", "path": "Consent.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Consent.implicitRules", "path": "Consent.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Consent.language", "path": "Consent.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Consent.text", "path": "Consent.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Consent.contained", "path": "Consent.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Consent.extension", "path": "Consent.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Consent.modifierExtension", "path": "Consent.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Consent.identifier", "path": "Consent.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "example": [ { "label": "General", "valueIdentifier": { "system": "urn:ietf:rfc:3986", "value": "Local eCMS identifier" } } ], "isSummary": true }, { "id": "Consent.status", "path": "Consent.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates the status of the consent", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-status" } } }, { "id": "Consent.category", "path": "Consent.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A classification of the type of consents found in a consent statement", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-category" } } }, { "id": "Consent.dateTime", "path": "Consent.dateTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Consent.period", "path": "Consent.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "meaningWhenMissing": "all date ranges included", "isSummary": true }, { "id": "Consent.patient", "path": "Consent.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "Consent.consentor", "path": "Consent.consentor", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Consent.organization", "path": "Consent.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Consent.source[x]", "path": "Consent.source[x]", "min": 0, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Identifier" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Consent" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" } ], "isSummary": true }, { "id": "Consent.policy", "path": "Consent.policy", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Consent.recipient", "path": "Consent.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ], "meaningWhenMissing": "There is no specific actor who is the focus of the consent", "isSummary": true }, { "id": "Consent.purpose", "path": "Consent.purpose", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Consent.except", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Except" } ], "path": "Consent.except", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Consent.except.id", "path": "Consent.except.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Consent.except.extension", "path": "Consent.except.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Consent.except.modifierExtension", "path": "Consent.except.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Consent.except.type", "path": "Consent.except.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How an exception is statement is applied, as adding additional consent, or removing consent", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-except-type" } } }, { "id": "Consent.except.period", "path": "Consent.except.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Consent.except.actor", "path": "Consent.except.actor", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "meaningWhenMissing": "There is no specific actor associated with the exception", "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Consent.except.actor.id", "path": "Consent.except.actor.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Consent.except.actor.extension", "path": "Consent.except.actor.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Consent.except.actor.modifierExtension", "path": "Consent.except.actor.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Consent.except.actor.role", "path": "Consent.except.actor.role", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "How an actor is involved in the consent considerations", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-actor-role" } } }, { "id": "Consent.except.actor.reference", "path": "Consent.except.actor.reference", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "Consent.except.action", "path": "Consent.except.action", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "meaningWhenMissing": "all actions", "isSummary": true, "binding": { "strength": "example", "description": "Detailed codes for the consent action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-action" } } }, { "id": "Consent.except.securityLabel", "path": "Consent.except.securityLabel", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/security-labels" } } }, { "id": "Consent.except.purpose", "path": "Consent.except.purpose", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Consent.except.class", "path": "Consent.except.class", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The class (type) of information a consent rule covers", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-content-class" } } }, { "id": "Consent.except.code", "path": "Consent.except.code", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "If this code is found in an instance, then the exception applies", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-content-code" } } }, { "id": "Consent.except.data", "path": "Consent.except.data", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "meaningWhenMissing": "all data", "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Consent.except.data.id", "path": "Consent.except.data.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Consent.except.data.extension", "path": "Consent.except.data.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Consent.except.data.modifierExtension", "path": "Consent.except.data.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Consent.except.data.meaning", "path": "Consent.except.data.meaning", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How a resource reference is interpreted when testing consent restrictions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-data-meaning" } } }, { "id": "Consent.except.data.reference", "path": "Consent.except.data.reference", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "Consent", "path": "Consent", "min": 0, "max": "*" }, { "id": "Consent.identifier", "path": "Consent.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "example": [ { "label": "General", "valueIdentifier": { "system": "urn:ietf:rfc:3986", "value": "Local eCMS identifier" } } ], "isSummary": true }, { "id": "Consent.status", "path": "Consent.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates the status of the consent", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-status" } } }, { "id": "Consent.category", "path": "Consent.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A classification of the type of consents found in a consent statement", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-category" } } }, { "id": "Consent.dateTime", "path": "Consent.dateTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Consent.period", "path": "Consent.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "meaningWhenMissing": "all date ranges included", "isSummary": true }, { "id": "Consent.patient", "path": "Consent.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "Consent.consentor", "path": "Consent.consentor", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Consent.organization", "path": "Consent.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Consent.source[x]", "path": "Consent.source[x]", "min": 0, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Identifier" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Consent" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" } ], "isSummary": true }, { "id": "Consent.policy", "path": "Consent.policy", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Consent.recipient", "path": "Consent.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ], "meaningWhenMissing": "There is no specific actor who is the focus of the consent", "isSummary": true }, { "id": "Consent.purpose", "path": "Consent.purpose", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Consent.except", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Except" } ], "path": "Consent.except", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Consent.except.type", "path": "Consent.except.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How an exception is statement is applied, as adding additional consent, or removing consent", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-except-type" } } }, { "id": "Consent.except.period", "path": "Consent.except.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Consent.except.actor", "path": "Consent.except.actor", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "meaningWhenMissing": "There is no specific actor associated with the exception", "isSummary": true }, { "id": "Consent.except.actor.role", "path": "Consent.except.actor.role", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "How an actor is involved in the consent considerations", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-actor-role" } } }, { "id": "Consent.except.actor.reference", "path": "Consent.except.actor.reference", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "Consent.except.action", "path": "Consent.except.action", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "meaningWhenMissing": "all actions", "isSummary": true, "binding": { "strength": "example", "description": "Detailed codes for the consent action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-action" } } }, { "id": "Consent.except.securityLabel", "path": "Consent.except.securityLabel", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/security-labels" } } }, { "id": "Consent.except.purpose", "path": "Consent.except.purpose", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Consent.except.class", "path": "Consent.except.class", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The class (type) of information a consent rule covers", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-content-class" } } }, { "id": "Consent.except.code", "path": "Consent.except.code", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "If this code is found in an instance, then the exception applies", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-content-code" } } }, { "id": "Consent.except.data", "path": "Consent.except.data", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "meaningWhenMissing": "all data", "isSummary": true }, { "id": "Consent.except.data.meaning", "path": "Consent.except.data.meaning", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How a resource reference is interpreted when testing consent restrictions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consent-data-meaning" } } }, { "id": "Consent.except.data.reference", "path": "Consent.except.data.reference", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Contract", "resource": { "resourceType": "StructureDefinition", "id": "Contract", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Other" } ], "url": "http://hl7.org/fhir/StructureDefinition/Contract", "name": "Contract", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Contract", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Contract", "path": "Contract", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Contract.id", "path": "Contract.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Contract.meta", "path": "Contract.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Contract.implicitRules", "path": "Contract.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.language", "path": "Contract.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Contract.text", "path": "Contract.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Contract.contained", "path": "Contract.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Contract.extension", "path": "Contract.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.modifierExtension", "path": "Contract.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Contract.identifier", "path": "Contract.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Contract.status", "path": "Contract.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "Contract.issued", "path": "Contract.issued", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Contract.applies", "path": "Contract.applies", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Contract.subject", "path": "Contract.subject", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Contract.topic", "path": "Contract.topic", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Contract.authority", "path": "Contract.authority", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Contract.domain", "path": "Contract.domain", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Contract.type", "path": "Contract.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "List of overall contract codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-type" } } }, { "id": "Contract.subType", "path": "Contract.subType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Detailed codes within the above.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-subtype" } } }, { "id": "Contract.action", "path": "Contract.action", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-action" } } }, { "id": "Contract.actionReason", "path": "Contract.actionReason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract action reason.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Contract.agent", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Agent" } ], "path": "Contract.agent", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.agent.id", "path": "Contract.agent.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.agent.extension", "path": "Contract.agent.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.agent.modifierExtension", "path": "Contract.agent.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.agent.actor", "path": "Contract.agent.actor", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Contract.agent.role", "path": "Contract.agent.role", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract actor role.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole" } } }, { "id": "Contract.signer", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Signatory" } ], "path": "Contract.signer", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.signer.id", "path": "Contract.signer.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.signer.extension", "path": "Contract.signer.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.signer.modifierExtension", "path": "Contract.signer.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.signer.type", "path": "Contract.signer.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "preferred", "description": "List of parties who may be signing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-signer-type" } } }, { "id": "Contract.signer.party", "path": "Contract.signer.party", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "Contract.signer.signature", "path": "Contract.signer.signature", "min": 1, "max": "*", "type": [ { "code": "Signature" } ] }, { "id": "Contract.valuedItem", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ValuedItem" } ], "path": "Contract.valuedItem", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.valuedItem.id", "path": "Contract.valuedItem.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.valuedItem.extension", "path": "Contract.valuedItem.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.valuedItem.modifierExtension", "path": "Contract.valuedItem.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.valuedItem.entity[x]", "path": "Contract.valuedItem.entity[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "Contract.valuedItem.identifier", "path": "Contract.valuedItem.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Contract.valuedItem.effectiveTime", "path": "Contract.valuedItem.effectiveTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Contract.valuedItem.quantity", "path": "Contract.valuedItem.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Contract.valuedItem.unitPrice", "path": "Contract.valuedItem.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Contract.valuedItem.factor", "path": "Contract.valuedItem.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Contract.valuedItem.points", "path": "Contract.valuedItem.points", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Contract.valuedItem.net", "path": "Contract.valuedItem.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Contract.term", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Term" } ], "path": "Contract.term", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.term.id", "path": "Contract.term.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.term.extension", "path": "Contract.term.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.term.modifierExtension", "path": "Contract.term.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.term.identifier", "path": "Contract.term.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Contract.term.issued", "path": "Contract.term.issued", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Contract.term.applies", "path": "Contract.term.applies", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Contract.term.type", "path": "Contract.term.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the types of contract provisions.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-term-type" } } }, { "id": "Contract.term.subType", "path": "Contract.term.subType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the subtypes of contract provisions.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-term-subtype" } } }, { "id": "Contract.term.topic", "path": "Contract.term.topic", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Contract.term.action", "path": "Contract.term.action", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-action" } } }, { "id": "Contract.term.actionReason", "path": "Contract.term.actionReason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract action reason.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Contract.term.agent", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TermAgent" } ], "path": "Contract.term.agent", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.term.agent.id", "path": "Contract.term.agent.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.term.agent.extension", "path": "Contract.term.agent.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.term.agent.modifierExtension", "path": "Contract.term.agent.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.term.agent.actor", "path": "Contract.term.agent.actor", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Contract.term.agent.role", "path": "Contract.term.agent.role", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract actor role.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole" } } }, { "id": "Contract.term.text", "path": "Contract.term.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Contract.term.valuedItem", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TermValuedItem" } ], "path": "Contract.term.valuedItem", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.term.valuedItem.id", "path": "Contract.term.valuedItem.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.term.valuedItem.extension", "path": "Contract.term.valuedItem.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.term.valuedItem.modifierExtension", "path": "Contract.term.valuedItem.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.term.valuedItem.entity[x]", "path": "Contract.term.valuedItem.entity[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "Contract.term.valuedItem.identifier", "path": "Contract.term.valuedItem.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Contract.term.valuedItem.effectiveTime", "path": "Contract.term.valuedItem.effectiveTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Contract.term.valuedItem.quantity", "path": "Contract.term.valuedItem.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Contract.term.valuedItem.unitPrice", "path": "Contract.term.valuedItem.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Contract.term.valuedItem.factor", "path": "Contract.term.valuedItem.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Contract.term.valuedItem.points", "path": "Contract.term.valuedItem.points", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Contract.term.valuedItem.net", "path": "Contract.term.valuedItem.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Contract.term.group", "path": "Contract.term.group", "min": 0, "max": "*", "contentReference": "#Contract.term" }, { "id": "Contract.binding[x]", "path": "Contract.binding[x]", "min": 0, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" } ] }, { "id": "Contract.friendly", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "FriendlyLanguage" } ], "path": "Contract.friendly", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.friendly.id", "path": "Contract.friendly.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.friendly.extension", "path": "Contract.friendly.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.friendly.modifierExtension", "path": "Contract.friendly.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.friendly.content[x]", "path": "Contract.friendly.content[x]", "min": 1, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" } ] }, { "id": "Contract.legal", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "LegalLanguage" } ], "path": "Contract.legal", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.legal.id", "path": "Contract.legal.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.legal.extension", "path": "Contract.legal.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.legal.modifierExtension", "path": "Contract.legal.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.legal.content[x]", "path": "Contract.legal.content[x]", "min": 1, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" } ] }, { "id": "Contract.rule", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ComputableLanguage" } ], "path": "Contract.rule", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Contract.rule.id", "path": "Contract.rule.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Contract.rule.extension", "path": "Contract.rule.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Contract.rule.modifierExtension", "path": "Contract.rule.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Contract.rule.content[x]", "path": "Contract.rule.content[x]", "min": 1, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" } ] } ] }, "differential": { "element": [ { "id": "Contract", "path": "Contract", "min": 0, "max": "*" }, { "id": "Contract.identifier", "path": "Contract.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Contract.status", "path": "Contract.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "Contract.issued", "path": "Contract.issued", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Contract.applies", "path": "Contract.applies", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Contract.subject", "path": "Contract.subject", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Contract.topic", "path": "Contract.topic", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Contract.authority", "path": "Contract.authority", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Contract.domain", "path": "Contract.domain", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Contract.type", "path": "Contract.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "List of overall contract codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-type" } } }, { "id": "Contract.subType", "path": "Contract.subType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Detailed codes within the above.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-subtype" } } }, { "id": "Contract.action", "path": "Contract.action", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-action" } } }, { "id": "Contract.actionReason", "path": "Contract.actionReason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract action reason.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Contract.agent", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Agent" } ], "path": "Contract.agent", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.agent.actor", "path": "Contract.agent.actor", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Contract.agent.role", "path": "Contract.agent.role", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract actor role.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole" } } }, { "id": "Contract.signer", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Signatory" } ], "path": "Contract.signer", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.signer.type", "path": "Contract.signer.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "preferred", "description": "List of parties who may be signing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-signer-type" } } }, { "id": "Contract.signer.party", "path": "Contract.signer.party", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "Contract.signer.signature", "path": "Contract.signer.signature", "min": 1, "max": "*", "type": [ { "code": "Signature" } ] }, { "id": "Contract.valuedItem", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ValuedItem" } ], "path": "Contract.valuedItem", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.valuedItem.entity[x]", "path": "Contract.valuedItem.entity[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "Contract.valuedItem.identifier", "path": "Contract.valuedItem.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Contract.valuedItem.effectiveTime", "path": "Contract.valuedItem.effectiveTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Contract.valuedItem.quantity", "path": "Contract.valuedItem.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Contract.valuedItem.unitPrice", "path": "Contract.valuedItem.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Contract.valuedItem.factor", "path": "Contract.valuedItem.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Contract.valuedItem.points", "path": "Contract.valuedItem.points", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Contract.valuedItem.net", "path": "Contract.valuedItem.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Contract.term", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Term" } ], "path": "Contract.term", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.term.identifier", "path": "Contract.term.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Contract.term.issued", "path": "Contract.term.issued", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Contract.term.applies", "path": "Contract.term.applies", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Contract.term.type", "path": "Contract.term.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the types of contract provisions.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-term-type" } } }, { "id": "Contract.term.subType", "path": "Contract.term.subType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the subtypes of contract provisions.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-term-subtype" } } }, { "id": "Contract.term.topic", "path": "Contract.term.topic", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Contract.term.action", "path": "Contract.term.action", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-action" } } }, { "id": "Contract.term.actionReason", "path": "Contract.term.actionReason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract action reason.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Contract.term.agent", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TermAgent" } ], "path": "Contract.term.agent", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.term.agent.actor", "path": "Contract.term.agent.actor", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Contract.term.agent.role", "path": "Contract.term.agent.role", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Detailed codes for the contract actor role.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole" } } }, { "id": "Contract.term.text", "path": "Contract.term.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Contract.term.valuedItem", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TermValuedItem" } ], "path": "Contract.term.valuedItem", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.term.valuedItem.entity[x]", "path": "Contract.term.valuedItem.entity[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "Contract.term.valuedItem.identifier", "path": "Contract.term.valuedItem.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Contract.term.valuedItem.effectiveTime", "path": "Contract.term.valuedItem.effectiveTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Contract.term.valuedItem.quantity", "path": "Contract.term.valuedItem.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Contract.term.valuedItem.unitPrice", "path": "Contract.term.valuedItem.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Contract.term.valuedItem.factor", "path": "Contract.term.valuedItem.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Contract.term.valuedItem.points", "path": "Contract.term.valuedItem.points", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Contract.term.valuedItem.net", "path": "Contract.term.valuedItem.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "Contract.term.group", "path": "Contract.term.group", "min": 0, "max": "*", "contentReference": "#Contract.term" }, { "id": "Contract.binding[x]", "path": "Contract.binding[x]", "min": 0, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" } ] }, { "id": "Contract.friendly", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "FriendlyLanguage" } ], "path": "Contract.friendly", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.friendly.content[x]", "path": "Contract.friendly.content[x]", "min": 1, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" } ] }, { "id": "Contract.legal", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "LegalLanguage" } ], "path": "Contract.legal", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.legal.content[x]", "path": "Contract.legal.content[x]", "min": 1, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" } ] }, { "id": "Contract.rule", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ComputableLanguage" } ], "path": "Contract.rule", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Contract.rule.content[x]", "path": "Contract.rule.content[x]", "min": 1, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Coverage", "resource": { "resourceType": "StructureDefinition", "id": "Coverage", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Support" } ], "url": "http://hl7.org/fhir/StructureDefinition/Coverage", "name": "Coverage", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Health care programs and insurers are significant payors of health service costs.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Coverage", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Coverage", "path": "Coverage", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Coverage.id", "path": "Coverage.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Coverage.meta", "path": "Coverage.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Coverage.implicitRules", "path": "Coverage.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Coverage.language", "path": "Coverage.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Coverage.text", "path": "Coverage.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Coverage.contained", "path": "Coverage.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Coverage.extension", "path": "Coverage.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Coverage.modifierExtension", "path": "Coverage.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Coverage.identifier", "path": "Coverage.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Coverage.status", "path": "Coverage.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "Coverage.type", "path": "Coverage.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "The type of insurance: public health, worker compensation; private accident, auto, private health, etc.) or a direct payment by an individual or organization.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/coverage-type" } } }, { "id": "Coverage.policyHolder", "path": "Coverage.policyHolder", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Coverage.subscriber", "path": "Coverage.subscriber", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Coverage.subscriberId", "path": "Coverage.subscriberId", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.beneficiary", "path": "Coverage.beneficiary", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "Coverage.relationship", "path": "Coverage.relationship", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The relationship between the Policyholder and the Beneficiary (insured/covered party/patient).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/policyholder-relationship" } } }, { "id": "Coverage.period", "path": "Coverage.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Coverage.payor", "path": "Coverage.payor", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Coverage.group", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Group" } ], "path": "Coverage.group", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Coverage.group.id", "path": "Coverage.group.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Coverage.group.extension", "path": "Coverage.group.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Coverage.group.modifierExtension", "path": "Coverage.group.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Coverage.group.group", "path": "Coverage.group.group", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.groupDisplay", "path": "Coverage.group.groupDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subGroup", "path": "Coverage.group.subGroup", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subGroupDisplay", "path": "Coverage.group.subGroupDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.plan", "path": "Coverage.group.plan", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.planDisplay", "path": "Coverage.group.planDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subPlan", "path": "Coverage.group.subPlan", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subPlanDisplay", "path": "Coverage.group.subPlanDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.class", "path": "Coverage.group.class", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.classDisplay", "path": "Coverage.group.classDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subClass", "path": "Coverage.group.subClass", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subClassDisplay", "path": "Coverage.group.subClassDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.dependent", "path": "Coverage.dependent", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.sequence", "path": "Coverage.sequence", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.order", "path": "Coverage.order", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "isSummary": true }, { "id": "Coverage.network", "path": "Coverage.network", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.contract", "path": "Coverage.contract", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" } ] } ] }, "differential": { "element": [ { "id": "Coverage", "path": "Coverage", "min": 0, "max": "*" }, { "id": "Coverage.identifier", "path": "Coverage.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Coverage.status", "path": "Coverage.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "Coverage.type", "path": "Coverage.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "The type of insurance: public health, worker compensation; private accident, auto, private health, etc.) or a direct payment by an individual or organization.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/coverage-type" } } }, { "id": "Coverage.policyHolder", "path": "Coverage.policyHolder", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Coverage.subscriber", "path": "Coverage.subscriber", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Coverage.subscriberId", "path": "Coverage.subscriberId", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.beneficiary", "path": "Coverage.beneficiary", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "Coverage.relationship", "path": "Coverage.relationship", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The relationship between the Policyholder and the Beneficiary (insured/covered party/patient).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/policyholder-relationship" } } }, { "id": "Coverage.period", "path": "Coverage.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Coverage.payor", "path": "Coverage.payor", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Coverage.group", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Group" } ], "path": "Coverage.group", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Coverage.group.group", "path": "Coverage.group.group", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.groupDisplay", "path": "Coverage.group.groupDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subGroup", "path": "Coverage.group.subGroup", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subGroupDisplay", "path": "Coverage.group.subGroupDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.plan", "path": "Coverage.group.plan", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.planDisplay", "path": "Coverage.group.planDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subPlan", "path": "Coverage.group.subPlan", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subPlanDisplay", "path": "Coverage.group.subPlanDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.class", "path": "Coverage.group.class", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.classDisplay", "path": "Coverage.group.classDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subClass", "path": "Coverage.group.subClass", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.group.subClassDisplay", "path": "Coverage.group.subClassDisplay", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.dependent", "path": "Coverage.dependent", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.sequence", "path": "Coverage.sequence", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.order", "path": "Coverage.order", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "isSummary": true }, { "id": "Coverage.network", "path": "Coverage.network", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Coverage.contract", "path": "Coverage.contract", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DataElement", "resource": { "resourceType": "StructureDefinition", "id": "DataElement", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Content" } ], "url": "http://hl7.org/fhir/StructureDefinition/DataElement", "name": "DataElement", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DataElement", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "DataElement", "path": "DataElement", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DataElement.id", "path": "DataElement.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DataElement.meta", "path": "DataElement.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DataElement.implicitRules", "path": "DataElement.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DataElement.language", "path": "DataElement.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DataElement.text", "path": "DataElement.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DataElement.contained", "path": "DataElement.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DataElement.extension", "path": "DataElement.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DataElement.modifierExtension", "path": "DataElement.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DataElement.url", "path": "DataElement.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "DataElement.identifier", "path": "DataElement.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DataElement.version", "path": "DataElement.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataElement.status", "path": "DataElement.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "DataElement.experimental", "path": "DataElement.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "DataElement.publisher", "path": "DataElement.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataElement.date", "path": "DataElement.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DataElement.name", "path": "DataElement.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataElement.title", "path": "DataElement.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataElement.contact", "path": "DataElement.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "DataElement.useContext", "path": "DataElement.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "DataElement.jurisdiction", "path": "DataElement.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "DataElement.copyright", "path": "DataElement.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "DataElement.stringency", "path": "DataElement.stringency", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicates the degree of precision of the data element definition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dataelement-stringency" } } }, { "id": "DataElement.mapping", "path": "DataElement.mapping", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "DataElement.mapping.id", "path": "DataElement.mapping.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DataElement.mapping.extension", "path": "DataElement.mapping.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DataElement.mapping.modifierExtension", "path": "DataElement.mapping.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DataElement.mapping.identity", "path": "DataElement.mapping.identity", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "DataElement.mapping.uri", "path": "DataElement.mapping.uri", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "DataElement.mapping.name", "path": "DataElement.mapping.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DataElement.mapping.comment", "path": "DataElement.mapping.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DataElement.element", "path": "DataElement.element", "min": 1, "max": "*", "type": [ { "code": "ElementDefinition" } ], "constraint": [ { "key": "dae-1", "severity": "error", "human": "No base allowed", "expression": "base.empty()", "xpath": "not(exists(f:base))" }, { "key": "dae-2", "severity": "error", "human": "No slicing allowed", "expression": "slicing.empty()", "xpath": "not(exists(f:slicing))" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "DataElement", "path": "DataElement", "min": 0, "max": "*" }, { "id": "DataElement.url", "path": "DataElement.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "DataElement.identifier", "path": "DataElement.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DataElement.version", "path": "DataElement.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataElement.status", "path": "DataElement.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "DataElement.experimental", "path": "DataElement.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "DataElement.publisher", "path": "DataElement.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataElement.date", "path": "DataElement.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DataElement.name", "path": "DataElement.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataElement.title", "path": "DataElement.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataElement.contact", "path": "DataElement.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "DataElement.useContext", "path": "DataElement.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "DataElement.jurisdiction", "path": "DataElement.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "DataElement.copyright", "path": "DataElement.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "DataElement.stringency", "path": "DataElement.stringency", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicates the degree of precision of the data element definition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dataelement-stringency" } } }, { "id": "DataElement.mapping", "path": "DataElement.mapping", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "DataElement.mapping.identity", "path": "DataElement.mapping.identity", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "DataElement.mapping.uri", "path": "DataElement.mapping.uri", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "DataElement.mapping.name", "path": "DataElement.mapping.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DataElement.mapping.comment", "path": "DataElement.mapping.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DataElement.element", "path": "DataElement.element", "min": 1, "max": "*", "type": [ { "code": "ElementDefinition" } ], "constraint": [ { "key": "dae-1", "severity": "error", "human": "No base allowed", "expression": "base.empty()", "xpath": "not(exists(f:base))" }, { "key": "dae-2", "severity": "error", "human": "No slicing allowed", "expression": "slicing.empty()", "xpath": "not(exists(f:slicing))" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DetectedIssue", "resource": { "resourceType": "StructureDefinition", "id": "DetectedIssue", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/General" } ], "url": "http://hl7.org/fhir/StructureDefinition/DetectedIssue", "name": "DetectedIssue", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DetectedIssue", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DetectedIssue", "path": "DetectedIssue", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DetectedIssue.id", "path": "DetectedIssue.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DetectedIssue.meta", "path": "DetectedIssue.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DetectedIssue.implicitRules", "path": "DetectedIssue.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DetectedIssue.language", "path": "DetectedIssue.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DetectedIssue.text", "path": "DetectedIssue.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DetectedIssue.contained", "path": "DetectedIssue.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DetectedIssue.extension", "path": "DetectedIssue.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DetectedIssue.modifierExtension", "path": "DetectedIssue.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DetectedIssue.patient", "path": "DetectedIssue.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "DetectedIssue.category", "path": "DetectedIssue.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Codes identifying the general type of detected issue; e.g. Drug-drug interaction, Timing issue, Duplicate therapy, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/detectedissue-category" } } }, { "id": "DetectedIssue.severity", "path": "DetectedIssue.severity", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicates the potential degree of impact of the identified issue on the patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/detectedissue-severity" } } }, { "id": "DetectedIssue.implicated", "path": "DetectedIssue.implicated", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DetectedIssue.detail", "path": "DetectedIssue.detail", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DetectedIssue.date", "path": "DetectedIssue.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DetectedIssue.author", "path": "DetectedIssue.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DetectedIssue.identifier", "path": "DetectedIssue.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DetectedIssue.reference", "path": "DetectedIssue.reference", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "DetectedIssue.mitigation", "path": "DetectedIssue.mitigation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "DetectedIssue.mitigation.id", "path": "DetectedIssue.mitigation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DetectedIssue.mitigation.extension", "path": "DetectedIssue.mitigation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DetectedIssue.mitigation.modifierExtension", "path": "DetectedIssue.mitigation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DetectedIssue.mitigation.action", "path": "DetectedIssue.mitigation.action", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "Codes describing steps taken to resolve the issue or other circumstances that mitigate the risk associated with the issue; e.g. 'added concurrent therapy', 'prior therapy documented', etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action" } } }, { "id": "DetectedIssue.mitigation.date", "path": "DetectedIssue.mitigation.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "DetectedIssue.mitigation.author", "path": "DetectedIssue.mitigation.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] } ] }, "differential": { "element": [ { "id": "DetectedIssue", "path": "DetectedIssue", "min": 0, "max": "*" }, { "id": "DetectedIssue.patient", "path": "DetectedIssue.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "DetectedIssue.category", "path": "DetectedIssue.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Codes identifying the general type of detected issue; e.g. Drug-drug interaction, Timing issue, Duplicate therapy, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/detectedissue-category" } } }, { "id": "DetectedIssue.severity", "path": "DetectedIssue.severity", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Indicates the potential degree of impact of the identified issue on the patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/detectedissue-severity" } } }, { "id": "DetectedIssue.implicated", "path": "DetectedIssue.implicated", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DetectedIssue.detail", "path": "DetectedIssue.detail", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DetectedIssue.date", "path": "DetectedIssue.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DetectedIssue.author", "path": "DetectedIssue.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DetectedIssue.identifier", "path": "DetectedIssue.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DetectedIssue.reference", "path": "DetectedIssue.reference", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "DetectedIssue.mitigation", "path": "DetectedIssue.mitigation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "DetectedIssue.mitigation.action", "path": "DetectedIssue.mitigation.action", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "Codes describing steps taken to resolve the issue or other circumstances that mitigate the risk associated with the issue; e.g. 'added concurrent therapy', 'prior therapy documented', etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action" } } }, { "id": "DetectedIssue.mitigation.date", "path": "DetectedIssue.mitigation.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "DetectedIssue.mitigation.author", "path": "DetectedIssue.mitigation.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Device", "resource": { "resourceType": "StructureDefinition", "id": "Device", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Devices" } ], "url": "http://hl7.org/fhir/StructureDefinition/Device", "name": "Device", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Allows institutions to track their devices.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Device", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Device", "path": "Device", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Device.id", "path": "Device.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Device.meta", "path": "Device.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Device.implicitRules", "path": "Device.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Device.language", "path": "Device.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Device.text", "path": "Device.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Device.contained", "path": "Device.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Device.extension", "path": "Device.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Device.modifierExtension", "path": "Device.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Device.identifier", "path": "Device.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Device.udiCarrier", "path": "Device.udiCarrier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Device.status", "path": "Device.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The availability status of the device.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/devicestatus" } } }, { "id": "Device.type", "path": "Device.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes to identify medical devices", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/device-kind" } } }, { "id": "Device.lotNumber", "path": "Device.lotNumber", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Device.manufacturer", "path": "Device.manufacturer", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Device.manufactureDate", "path": "Device.manufactureDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Device.expirationDate", "path": "Device.expirationDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Device.model", "path": "Device.model", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Device.version", "path": "Device.version", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Device.patient", "path": "Device.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "Device.owner", "path": "Device.owner", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Device.contact", "path": "Device.contact", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Device.location", "path": "Device.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Device.url", "path": "Device.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "Device.note", "path": "Device.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] }, "differential": { "element": [ { "id": "Device", "path": "Device", "min": 0, "max": "*" }, { "id": "Device.identifier", "path": "Device.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Device.udiCarrier", "path": "Device.udiCarrier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Device.status", "path": "Device.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The availability status of the device.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/devicestatus" } } }, { "id": "Device.type", "path": "Device.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes to identify medical devices", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/device-kind" } } }, { "id": "Device.lotNumber", "path": "Device.lotNumber", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Device.manufacturer", "path": "Device.manufacturer", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Device.manufactureDate", "path": "Device.manufactureDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Device.expirationDate", "path": "Device.expirationDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Device.model", "path": "Device.model", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Device.version", "path": "Device.version", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Device.patient", "path": "Device.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "Device.owner", "path": "Device.owner", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Device.contact", "path": "Device.contact", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Device.location", "path": "Device.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Device.url", "path": "Device.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "Device.note", "path": "Device.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DeviceComponent", "resource": { "resourceType": "StructureDefinition", "id": "DeviceComponent", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "dev" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Devices" } ], "url": "http://hl7.org/fhir/StructureDefinition/DeviceComponent", "name": "DeviceComponent", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DeviceComponent", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DeviceComponent", "path": "DeviceComponent", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DeviceComponent.id", "path": "DeviceComponent.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DeviceComponent.meta", "path": "DeviceComponent.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DeviceComponent.implicitRules", "path": "DeviceComponent.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DeviceComponent.language", "path": "DeviceComponent.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DeviceComponent.text", "path": "DeviceComponent.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DeviceComponent.contained", "path": "DeviceComponent.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DeviceComponent.extension", "path": "DeviceComponent.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DeviceComponent.modifierExtension", "path": "DeviceComponent.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DeviceComponent.type", "path": "DeviceComponent.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Describes the type of the component.", "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!hrosetta" } }, { "id": "DeviceComponent.identifier", "path": "DeviceComponent.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceComponent.lastSystemChange", "path": "DeviceComponent.lastSystemChange", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "DeviceComponent.source", "path": "DeviceComponent.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DeviceComponent.parent", "path": "DeviceComponent.parent", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceComponent" } ], "isSummary": true }, { "id": "DeviceComponent.operationalStatus", "path": "DeviceComponent.operationalStatus", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes representing the current status of the device - on, off, suspended, etc." } }, { "id": "DeviceComponent.parameterGroup", "path": "DeviceComponent.parameterGroup", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes identifying groupings of parameters; e.g. Cardiovascular." } }, { "id": "DeviceComponent.measurementPrinciple", "path": "DeviceComponent.measurementPrinciple", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Different measurement principle supported by the device.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measurement-principle" } } }, { "id": "DeviceComponent.productionSpecification", "path": "DeviceComponent.productionSpecification", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "DeviceComponent.productionSpecification.id", "path": "DeviceComponent.productionSpecification.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DeviceComponent.productionSpecification.extension", "path": "DeviceComponent.productionSpecification.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DeviceComponent.productionSpecification.modifierExtension", "path": "DeviceComponent.productionSpecification.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DeviceComponent.productionSpecification.specType", "path": "DeviceComponent.productionSpecification.specType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for device specification types such as serial number, part number, hardware revision, software revision, etc." } }, { "id": "DeviceComponent.productionSpecification.componentId", "path": "DeviceComponent.productionSpecification.componentId", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceComponent.productionSpecification.productionSpec", "path": "DeviceComponent.productionSpecification.productionSpec", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DeviceComponent.languageCode", "path": "DeviceComponent.languageCode", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } } ] }, "differential": { "element": [ { "id": "DeviceComponent", "path": "DeviceComponent", "min": 0, "max": "*" }, { "id": "DeviceComponent.type", "path": "DeviceComponent.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Describes the type of the component.", "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!hrosetta" } }, { "id": "DeviceComponent.identifier", "path": "DeviceComponent.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceComponent.lastSystemChange", "path": "DeviceComponent.lastSystemChange", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "DeviceComponent.source", "path": "DeviceComponent.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DeviceComponent.parent", "path": "DeviceComponent.parent", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceComponent" } ], "isSummary": true }, { "id": "DeviceComponent.operationalStatus", "path": "DeviceComponent.operationalStatus", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes representing the current status of the device - on, off, suspended, etc." } }, { "id": "DeviceComponent.parameterGroup", "path": "DeviceComponent.parameterGroup", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes identifying groupings of parameters; e.g. Cardiovascular." } }, { "id": "DeviceComponent.measurementPrinciple", "path": "DeviceComponent.measurementPrinciple", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Different measurement principle supported by the device.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measurement-principle" } } }, { "id": "DeviceComponent.productionSpecification", "path": "DeviceComponent.productionSpecification", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "DeviceComponent.productionSpecification.specType", "path": "DeviceComponent.productionSpecification.specType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for device specification types such as serial number, part number, hardware revision, software revision, etc." } }, { "id": "DeviceComponent.productionSpecification.componentId", "path": "DeviceComponent.productionSpecification.componentId", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceComponent.productionSpecification.productionSpec", "path": "DeviceComponent.productionSpecification.productionSpec", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DeviceComponent.languageCode", "path": "DeviceComponent.languageCode", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DeviceMetric", "resource": { "resourceType": "StructureDefinition", "id": "DeviceMetric", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "dev" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Devices" } ], "url": "http://hl7.org/fhir/StructureDefinition/DeviceMetric", "name": "DeviceMetric", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DeviceMetric", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DeviceMetric", "path": "DeviceMetric", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DeviceMetric.id", "path": "DeviceMetric.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DeviceMetric.meta", "path": "DeviceMetric.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DeviceMetric.implicitRules", "path": "DeviceMetric.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DeviceMetric.language", "path": "DeviceMetric.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DeviceMetric.text", "path": "DeviceMetric.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DeviceMetric.contained", "path": "DeviceMetric.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DeviceMetric.extension", "path": "DeviceMetric.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DeviceMetric.modifierExtension", "path": "DeviceMetric.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DeviceMetric.type", "path": "DeviceMetric.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Describes the metric type.", "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!hrosetta" } }, { "id": "DeviceMetric.identifier", "path": "DeviceMetric.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceMetric.unit", "path": "DeviceMetric.unit", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Describes the unit of the metric.", "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!units" } }, { "id": "DeviceMetric.source", "path": "DeviceMetric.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DeviceMetric.parent", "path": "DeviceMetric.parent", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceComponent" } ], "isSummary": true }, { "id": "DeviceMetric.operationalStatus", "path": "DeviceMetric.operationalStatus", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the operational status of the DeviceMetric.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-operational-status" } } }, { "id": "DeviceMetric.color", "path": "DeviceMetric.color", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the typical color of representation.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-color" } } }, { "id": "DeviceMetric.category", "path": "DeviceMetric.category", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the category of the metric.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-category" } } }, { "id": "DeviceMetric.measurementPeriod", "path": "DeviceMetric.measurementPeriod", "min": 0, "max": "1", "type": [ { "code": "Timing" } ], "isSummary": true }, { "id": "DeviceMetric.calibration", "path": "DeviceMetric.calibration", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "DeviceMetric.calibration.id", "path": "DeviceMetric.calibration.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DeviceMetric.calibration.extension", "path": "DeviceMetric.calibration.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DeviceMetric.calibration.modifierExtension", "path": "DeviceMetric.calibration.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DeviceMetric.calibration.type", "path": "DeviceMetric.calibration.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the type of a metric calibration.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-calibration-type" } } }, { "id": "DeviceMetric.calibration.state", "path": "DeviceMetric.calibration.state", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the state of a metric calibration.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-calibration-state" } } }, { "id": "DeviceMetric.calibration.time", "path": "DeviceMetric.calibration.time", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "DeviceMetric", "path": "DeviceMetric", "min": 0, "max": "*" }, { "id": "DeviceMetric.type", "path": "DeviceMetric.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Describes the metric type.", "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!hrosetta" } }, { "id": "DeviceMetric.identifier", "path": "DeviceMetric.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceMetric.unit", "path": "DeviceMetric.unit", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Describes the unit of the metric.", "valueSetUri": "https://rtmms.nist.gov/rtmms/index.htm#!units" } }, { "id": "DeviceMetric.source", "path": "DeviceMetric.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DeviceMetric.parent", "path": "DeviceMetric.parent", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceComponent" } ], "isSummary": true }, { "id": "DeviceMetric.operationalStatus", "path": "DeviceMetric.operationalStatus", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the operational status of the DeviceMetric.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-operational-status" } } }, { "id": "DeviceMetric.color", "path": "DeviceMetric.color", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the typical color of representation.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-color" } } }, { "id": "DeviceMetric.category", "path": "DeviceMetric.category", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the category of the metric.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-category" } } }, { "id": "DeviceMetric.measurementPeriod", "path": "DeviceMetric.measurementPeriod", "min": 0, "max": "1", "type": [ { "code": "Timing" } ], "isSummary": true }, { "id": "DeviceMetric.calibration", "path": "DeviceMetric.calibration", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "DeviceMetric.calibration.type", "path": "DeviceMetric.calibration.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the type of a metric calibration.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-calibration-type" } } }, { "id": "DeviceMetric.calibration.state", "path": "DeviceMetric.calibration.state", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Describes the state of a metric calibration.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/metric-calibration-state" } } }, { "id": "DeviceMetric.calibration.time", "path": "DeviceMetric.calibration.time", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest", "resource": { "resourceType": "StructureDefinition", "id": "DeviceUseRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Events 1" } ], "url": "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest", "name": "DeviceUseRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DeviceUseRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DeviceUseRequest", "path": "DeviceUseRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DeviceUseRequest.id", "path": "DeviceUseRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DeviceUseRequest.meta", "path": "DeviceUseRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DeviceUseRequest.implicitRules", "path": "DeviceUseRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DeviceUseRequest.language", "path": "DeviceUseRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DeviceUseRequest.text", "path": "DeviceUseRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DeviceUseRequest.contained", "path": "DeviceUseRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DeviceUseRequest.extension", "path": "DeviceUseRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DeviceUseRequest.modifierExtension", "path": "DeviceUseRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DeviceUseRequest.identifier", "path": "DeviceUseRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceUseRequest.definition", "path": "DeviceUseRequest.definition", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DeviceUseRequest.basedOn", "path": "DeviceUseRequest.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DeviceUseRequest.replaces", "path": "DeviceUseRequest.replaces", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DeviceUseRequest.requisition", "path": "DeviceUseRequest.requisition", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceUseRequest.status", "path": "DeviceUseRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes representing the status of the request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-status" } } }, { "id": "DeviceUseRequest.stage", "path": "DeviceUseRequest.stage", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "extensible", "description": "The kind of diagnostic request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-stage" } } }, { "id": "DeviceUseRequest.device[x]", "path": "DeviceUseRequest.device[x]", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for devices that can be requested", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/device-kind" } } }, { "id": "DeviceUseRequest.subject", "path": "DeviceUseRequest.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DeviceUseRequest.context", "path": "DeviceUseRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "DeviceUseRequest.occurrence[x]", "path": "DeviceUseRequest.occurrence[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Timing" } ], "isSummary": true }, { "id": "DeviceUseRequest.authored", "path": "DeviceUseRequest.authored", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DeviceUseRequest.requester", "path": "DeviceUseRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DeviceUseRequest.performerType", "path": "DeviceUseRequest.performerType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participant-role" } } }, { "id": "DeviceUseRequest.performer", "path": "DeviceUseRequest.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "DeviceUseRequest.reasonCode", "path": "DeviceUseRequest.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Diagnosis or problem codes justifying the reason for requesting the device.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "DeviceUseRequest.reasonReference", "path": "DeviceUseRequest.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DeviceUseRequest.supportingInfo", "path": "DeviceUseRequest.supportingInfo", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "DeviceUseRequest.note", "path": "DeviceUseRequest.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "DeviceUseRequest.relevantHistory", "path": "DeviceUseRequest.relevantHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] }, "differential": { "element": [ { "id": "DeviceUseRequest", "path": "DeviceUseRequest", "min": 0, "max": "*" }, { "id": "DeviceUseRequest.identifier", "path": "DeviceUseRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceUseRequest.definition", "path": "DeviceUseRequest.definition", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DeviceUseRequest.basedOn", "path": "DeviceUseRequest.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DeviceUseRequest.replaces", "path": "DeviceUseRequest.replaces", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DeviceUseRequest.requisition", "path": "DeviceUseRequest.requisition", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceUseRequest.status", "path": "DeviceUseRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes representing the status of the request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-status" } } }, { "id": "DeviceUseRequest.stage", "path": "DeviceUseRequest.stage", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "extensible", "description": "The kind of diagnostic request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-stage" } } }, { "id": "DeviceUseRequest.device[x]", "path": "DeviceUseRequest.device[x]", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for devices that can be requested", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/device-kind" } } }, { "id": "DeviceUseRequest.subject", "path": "DeviceUseRequest.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DeviceUseRequest.context", "path": "DeviceUseRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "DeviceUseRequest.occurrence[x]", "path": "DeviceUseRequest.occurrence[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Timing" } ], "isSummary": true }, { "id": "DeviceUseRequest.authored", "path": "DeviceUseRequest.authored", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DeviceUseRequest.requester", "path": "DeviceUseRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DeviceUseRequest.performerType", "path": "DeviceUseRequest.performerType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participant-role" } } }, { "id": "DeviceUseRequest.performer", "path": "DeviceUseRequest.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "DeviceUseRequest.reasonCode", "path": "DeviceUseRequest.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Diagnosis or problem codes justifying the reason for requesting the device.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "DeviceUseRequest.reasonReference", "path": "DeviceUseRequest.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DeviceUseRequest.supportingInfo", "path": "DeviceUseRequest.supportingInfo", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "DeviceUseRequest.note", "path": "DeviceUseRequest.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "DeviceUseRequest.relevantHistory", "path": "DeviceUseRequest.relevantHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DeviceUseStatement", "resource": { "resourceType": "StructureDefinition", "id": "DeviceUseStatement", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Events 1" } ], "url": "http://hl7.org/fhir/StructureDefinition/DeviceUseStatement", "name": "DeviceUseStatement", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DeviceUseStatement", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DeviceUseStatement", "path": "DeviceUseStatement", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DeviceUseStatement.id", "path": "DeviceUseStatement.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DeviceUseStatement.meta", "path": "DeviceUseStatement.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DeviceUseStatement.implicitRules", "path": "DeviceUseStatement.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DeviceUseStatement.language", "path": "DeviceUseStatement.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DeviceUseStatement.text", "path": "DeviceUseStatement.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DeviceUseStatement.contained", "path": "DeviceUseStatement.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DeviceUseStatement.extension", "path": "DeviceUseStatement.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DeviceUseStatement.modifierExtension", "path": "DeviceUseStatement.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DeviceUseStatement.bodySite", "path": "DeviceUseStatement.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "DeviceUseStatement.whenUsed", "path": "DeviceUseStatement.whenUsed", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "DeviceUseStatement.device", "path": "DeviceUseStatement.device", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DeviceUseStatement.identifier", "path": "DeviceUseStatement.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceUseStatement.indication", "path": "DeviceUseStatement.indication", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "DeviceUseStatement.notes", "path": "DeviceUseStatement.notes", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DeviceUseStatement.recordedOn", "path": "DeviceUseStatement.recordedOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DeviceUseStatement.subject", "path": "DeviceUseStatement.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "DeviceUseStatement.timing[x]", "path": "DeviceUseStatement.timing[x]", "min": 0, "max": "1", "type": [ { "code": "Timing" }, { "code": "Period" }, { "code": "dateTime" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "DeviceUseStatement", "path": "DeviceUseStatement", "min": 0, "max": "*" }, { "id": "DeviceUseStatement.bodySite", "path": "DeviceUseStatement.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "DeviceUseStatement.whenUsed", "path": "DeviceUseStatement.whenUsed", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "DeviceUseStatement.device", "path": "DeviceUseStatement.device", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DeviceUseStatement.identifier", "path": "DeviceUseStatement.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DeviceUseStatement.indication", "path": "DeviceUseStatement.indication", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "DeviceUseStatement.notes", "path": "DeviceUseStatement.notes", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DeviceUseStatement.recordedOn", "path": "DeviceUseStatement.recordedOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DeviceUseStatement.subject", "path": "DeviceUseStatement.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "DeviceUseStatement.timing[x]", "path": "DeviceUseStatement.timing[x]", "min": 0, "max": "1", "type": [ { "code": "Timing" }, { "code": "Period" }, { "code": "dateTime" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "resource": { "resourceType": "StructureDefinition", "id": "DiagnosticReport", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 3 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Diagnostics" } ], "url": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "name": "DiagnosticReport", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "To support reporting for any diagnostic report into a clinical data repository.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DiagnosticReport", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DiagnosticReport", "path": "DiagnosticReport", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DiagnosticReport.id", "path": "DiagnosticReport.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DiagnosticReport.meta", "path": "DiagnosticReport.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DiagnosticReport.implicitRules", "path": "DiagnosticReport.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DiagnosticReport.language", "path": "DiagnosticReport.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DiagnosticReport.text", "path": "DiagnosticReport.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DiagnosticReport.contained", "path": "DiagnosticReport.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DiagnosticReport.extension", "path": "DiagnosticReport.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DiagnosticReport.modifierExtension", "path": "DiagnosticReport.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DiagnosticReport.identifier", "path": "DiagnosticReport.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DiagnosticReport.status", "path": "DiagnosticReport.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the diagnostic report as a whole.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" } } }, { "id": "DiagnosticReport.category", "path": "DiagnosticReport.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for diagnostic service sections.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" } } }, { "id": "DiagnosticReport.code", "path": "DiagnosticReport.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Codes that describe Diagnostic Reports.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-codes" } } }, { "id": "DiagnosticReport.subject", "path": "DiagnosticReport.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "DiagnosticReport.encounter", "path": "DiagnosticReport.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "DiagnosticReport.effective[x]", "path": "DiagnosticReport.effective[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "DiagnosticReport.issued", "path": "DiagnosticReport.issued", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "DiagnosticReport.performer", "path": "DiagnosticReport.performer", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DiagnosticReport.request", "path": "DiagnosticReport.request", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "DiagnosticReport.specimen", "path": "DiagnosticReport.specimen", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ] }, { "id": "DiagnosticReport.result", "path": "DiagnosticReport.result", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "DiagnosticReport.imagingStudy", "path": "DiagnosticReport.imagingStudy", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" } ] }, { "id": "DiagnosticReport.image", "path": "DiagnosticReport.image", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "DiagnosticReport.image.id", "path": "DiagnosticReport.image.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DiagnosticReport.image.extension", "path": "DiagnosticReport.image.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DiagnosticReport.image.modifierExtension", "path": "DiagnosticReport.image.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DiagnosticReport.image.comment", "path": "DiagnosticReport.image.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DiagnosticReport.image.link", "path": "DiagnosticReport.image.link", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" } ], "isSummary": true }, { "id": "DiagnosticReport.conclusion", "path": "DiagnosticReport.conclusion", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DiagnosticReport.codedDiagnosis", "path": "DiagnosticReport.codedDiagnosis", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Diagnoses codes provided as adjuncts to the report.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/clinical-findings" } } }, { "id": "DiagnosticReport.presentedForm", "path": "DiagnosticReport.presentedForm", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] } ] }, "differential": { "element": [ { "id": "DiagnosticReport", "path": "DiagnosticReport", "min": 0, "max": "*" }, { "id": "DiagnosticReport.identifier", "path": "DiagnosticReport.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DiagnosticReport.status", "path": "DiagnosticReport.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the diagnostic report as a whole.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" } } }, { "id": "DiagnosticReport.category", "path": "DiagnosticReport.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for diagnostic service sections.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" } } }, { "id": "DiagnosticReport.code", "path": "DiagnosticReport.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Codes that describe Diagnostic Reports.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-codes" } } }, { "id": "DiagnosticReport.subject", "path": "DiagnosticReport.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "DiagnosticReport.encounter", "path": "DiagnosticReport.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "DiagnosticReport.effective[x]", "path": "DiagnosticReport.effective[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "DiagnosticReport.issued", "path": "DiagnosticReport.issued", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "DiagnosticReport.performer", "path": "DiagnosticReport.performer", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DiagnosticReport.request", "path": "DiagnosticReport.request", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "DiagnosticReport.specimen", "path": "DiagnosticReport.specimen", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ] }, { "id": "DiagnosticReport.result", "path": "DiagnosticReport.result", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "DiagnosticReport.imagingStudy", "path": "DiagnosticReport.imagingStudy", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" } ] }, { "id": "DiagnosticReport.image", "path": "DiagnosticReport.image", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "DiagnosticReport.image.comment", "path": "DiagnosticReport.image.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DiagnosticReport.image.link", "path": "DiagnosticReport.image.link", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" } ], "isSummary": true }, { "id": "DiagnosticReport.conclusion", "path": "DiagnosticReport.conclusion", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "DiagnosticReport.codedDiagnosis", "path": "DiagnosticReport.codedDiagnosis", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Diagnoses codes provided as adjuncts to the report.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/clinical-findings" } } }, { "id": "DiagnosticReport.presentedForm", "path": "DiagnosticReport.presentedForm", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest", "resource": { "resourceType": "StructureDefinition", "id": "DiagnosticRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Diagnostics" } ], "url": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest", "name": "DiagnosticRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DiagnosticRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DiagnosticRequest", "path": "DiagnosticRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DiagnosticRequest.id", "path": "DiagnosticRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DiagnosticRequest.meta", "path": "DiagnosticRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DiagnosticRequest.implicitRules", "path": "DiagnosticRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DiagnosticRequest.language", "path": "DiagnosticRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DiagnosticRequest.text", "path": "DiagnosticRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DiagnosticRequest.contained", "path": "DiagnosticRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DiagnosticRequest.extension", "path": "DiagnosticRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DiagnosticRequest.modifierExtension", "path": "DiagnosticRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DiagnosticRequest.identifier", "path": "DiagnosticRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DiagnosticRequest.definition", "path": "DiagnosticRequest.definition", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DiagnosticRequest.basedOn", "path": "DiagnosticRequest.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DiagnosticRequest.replaces", "path": "DiagnosticRequest.replaces", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DiagnosticRequest.requisition", "path": "DiagnosticRequest.requisition", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DiagnosticRequest.status", "path": "DiagnosticRequest.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of a diagnostic order.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-status" } } }, { "id": "DiagnosticRequest.intent", "path": "DiagnosticRequest.intent", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The kind of diagnostic request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-intent" } } }, { "id": "DiagnosticRequest.priority", "path": "DiagnosticRequest.priority", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "If missing, this task should be performed with normal priority", "isSummary": true, "binding": { "strength": "required", "description": "Identifies the level of importance to be assigned to actioning the request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-priority" } } }, { "id": "DiagnosticRequest.code", "path": "DiagnosticRequest.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Codes for tests/services that can be performed by diagnostic services.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diagnostic-requests" } } }, { "id": "DiagnosticRequest.subject", "path": "DiagnosticRequest.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DiagnosticRequest.context", "path": "DiagnosticRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "DiagnosticRequest.occurrence[x]", "path": "DiagnosticRequest.occurrence[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Timing" } ], "isSummary": true }, { "id": "DiagnosticRequest.authoredOn", "path": "DiagnosticRequest.authoredOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DiagnosticRequest.requester", "path": "DiagnosticRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DiagnosticRequest.performerType", "path": "DiagnosticRequest.performerType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participant-role" } } }, { "id": "DiagnosticRequest.performer", "path": "DiagnosticRequest.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "DiagnosticRequest.reasonCode", "path": "DiagnosticRequest.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Diagnosis or problem codes justifying the reason for requesting the diagnostic investigation.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "DiagnosticRequest.reasonReference", "path": "DiagnosticRequest.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "isSummary": true }, { "id": "DiagnosticRequest.supportingInformation", "path": "DiagnosticRequest.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "DiagnosticRequest.note", "path": "DiagnosticRequest.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "DiagnosticRequest.relevantHistory", "path": "DiagnosticRequest.relevantHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] }, "differential": { "element": [ { "id": "DiagnosticRequest", "path": "DiagnosticRequest", "min": 0, "max": "*" }, { "id": "DiagnosticRequest.identifier", "path": "DiagnosticRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DiagnosticRequest.definition", "path": "DiagnosticRequest.definition", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DiagnosticRequest.basedOn", "path": "DiagnosticRequest.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DiagnosticRequest.replaces", "path": "DiagnosticRequest.replaces", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DiagnosticRequest.requisition", "path": "DiagnosticRequest.requisition", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DiagnosticRequest.status", "path": "DiagnosticRequest.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of a diagnostic order.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-status" } } }, { "id": "DiagnosticRequest.intent", "path": "DiagnosticRequest.intent", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The kind of diagnostic request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-intent" } } }, { "id": "DiagnosticRequest.priority", "path": "DiagnosticRequest.priority", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "If missing, this task should be performed with normal priority", "isSummary": true, "binding": { "strength": "required", "description": "Identifies the level of importance to be assigned to actioning the request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-priority" } } }, { "id": "DiagnosticRequest.code", "path": "DiagnosticRequest.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Codes for tests/services that can be performed by diagnostic services.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diagnostic-requests" } } }, { "id": "DiagnosticRequest.subject", "path": "DiagnosticRequest.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DiagnosticRequest.context", "path": "DiagnosticRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "DiagnosticRequest.occurrence[x]", "path": "DiagnosticRequest.occurrence[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Timing" } ], "isSummary": true }, { "id": "DiagnosticRequest.authoredOn", "path": "DiagnosticRequest.authoredOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DiagnosticRequest.requester", "path": "DiagnosticRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DiagnosticRequest.performerType", "path": "DiagnosticRequest.performerType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/participant-role" } } }, { "id": "DiagnosticRequest.performer", "path": "DiagnosticRequest.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "DiagnosticRequest.reasonCode", "path": "DiagnosticRequest.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Diagnosis or problem codes justifying the reason for requesting the diagnostic investigation.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "DiagnosticRequest.reasonReference", "path": "DiagnosticRequest.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "isSummary": true }, { "id": "DiagnosticRequest.supportingInformation", "path": "DiagnosticRequest.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "DiagnosticRequest.note", "path": "DiagnosticRequest.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "DiagnosticRequest.relevantHistory", "path": "DiagnosticRequest.relevantHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DocumentManifest", "resource": { "resourceType": "StructureDefinition", "id": "DocumentManifest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "sd" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Foundation/Documents & Questionnaires" } ], "url": "http://hl7.org/fhir/StructureDefinition/DocumentManifest", "name": "DocumentManifest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DocumentManifest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DocumentManifest", "path": "DocumentManifest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DocumentManifest.id", "path": "DocumentManifest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DocumentManifest.meta", "path": "DocumentManifest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DocumentManifest.implicitRules", "path": "DocumentManifest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentManifest.language", "path": "DocumentManifest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DocumentManifest.text", "path": "DocumentManifest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DocumentManifest.contained", "path": "DocumentManifest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DocumentManifest.extension", "path": "DocumentManifest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DocumentManifest.modifierExtension", "path": "DocumentManifest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DocumentManifest.masterIdentifier", "path": "DocumentManifest.masterIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentManifest.identifier", "path": "DocumentManifest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentManifest.subject", "path": "DocumentManifest.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DocumentManifest.recipient", "path": "DocumentManifest.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DocumentManifest.type", "path": "DocumentManifest.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Precise type of clinical document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" } } }, { "id": "DocumentManifest.author", "path": "DocumentManifest.author", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "DocumentManifest.created", "path": "DocumentManifest.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DocumentManifest.source", "path": "DocumentManifest.source", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "DocumentManifest.status", "path": "DocumentManifest.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the document reference.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-reference-status" } } }, { "id": "DocumentManifest.description", "path": "DocumentManifest.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DocumentManifest.content", "path": "DocumentManifest.content", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "DocumentManifest.content.id", "path": "DocumentManifest.content.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DocumentManifest.content.extension", "path": "DocumentManifest.content.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DocumentManifest.content.modifierExtension", "path": "DocumentManifest.content.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentManifest.content.p[x]", "path": "DocumentManifest.content.p[x]", "min": 1, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DocumentManifest.related", "path": "DocumentManifest.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "DocumentManifest.related.id", "path": "DocumentManifest.related.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DocumentManifest.related.extension", "path": "DocumentManifest.related.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DocumentManifest.related.modifierExtension", "path": "DocumentManifest.related.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentManifest.related.identifier", "path": "DocumentManifest.related.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentManifest.related.ref", "path": "DocumentManifest.related.ref", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "DocumentManifest", "path": "DocumentManifest", "min": 0, "max": "*" }, { "id": "DocumentManifest.masterIdentifier", "path": "DocumentManifest.masterIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentManifest.identifier", "path": "DocumentManifest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentManifest.subject", "path": "DocumentManifest.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DocumentManifest.recipient", "path": "DocumentManifest.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DocumentManifest.type", "path": "DocumentManifest.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Precise type of clinical document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" } } }, { "id": "DocumentManifest.author", "path": "DocumentManifest.author", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "DocumentManifest.created", "path": "DocumentManifest.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DocumentManifest.source", "path": "DocumentManifest.source", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "DocumentManifest.status", "path": "DocumentManifest.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the document reference.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-reference-status" } } }, { "id": "DocumentManifest.description", "path": "DocumentManifest.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DocumentManifest.content", "path": "DocumentManifest.content", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "DocumentManifest.content.p[x]", "path": "DocumentManifest.content.p[x]", "min": 1, "max": "1", "type": [ { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "DocumentManifest.related", "path": "DocumentManifest.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "DocumentManifest.related.identifier", "path": "DocumentManifest.related.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentManifest.related.ref", "path": "DocumentManifest.related.ref", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/DocumentReference", "resource": { "resourceType": "StructureDefinition", "id": "DocumentReference", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "sd" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Foundation/Documents & Questionnaires" } ], "url": "http://hl7.org/fhir/StructureDefinition/DocumentReference", "name": "DocumentReference", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "DocumentReference", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "DocumentReference", "path": "DocumentReference", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "DocumentReference.id", "path": "DocumentReference.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DocumentReference.meta", "path": "DocumentReference.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DocumentReference.implicitRules", "path": "DocumentReference.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentReference.language", "path": "DocumentReference.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DocumentReference.text", "path": "DocumentReference.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "DocumentReference.contained", "path": "DocumentReference.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "DocumentReference.extension", "path": "DocumentReference.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DocumentReference.modifierExtension", "path": "DocumentReference.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "DocumentReference.masterIdentifier", "path": "DocumentReference.masterIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentReference.identifier", "path": "DocumentReference.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentReference.subject", "path": "DocumentReference.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DocumentReference.type", "path": "DocumentReference.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Precise type of clinical document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" } } }, { "id": "DocumentReference.class", "path": "DocumentReference.class", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "High-level kind of a clinical document at a macro level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-doc-classcodes" } } }, { "id": "DocumentReference.author", "path": "DocumentReference.author", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "DocumentReference.custodian", "path": "DocumentReference.custodian", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DocumentReference.authenticator", "path": "DocumentReference.authenticator", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DocumentReference.created", "path": "DocumentReference.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DocumentReference.indexed", "path": "DocumentReference.indexed", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "DocumentReference.status", "path": "DocumentReference.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the document reference.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-reference-status" } } }, { "id": "DocumentReference.docStatus", "path": "DocumentReference.docStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "Status of the underlying document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composition-status" } } }, { "id": "DocumentReference.relatesTo", "path": "DocumentReference.relatesTo", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentReference.relatesTo.id", "path": "DocumentReference.relatesTo.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DocumentReference.relatesTo.extension", "path": "DocumentReference.relatesTo.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DocumentReference.relatesTo.modifierExtension", "path": "DocumentReference.relatesTo.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentReference.relatesTo.code", "path": "DocumentReference.relatesTo.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of relationship between documents.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-relationship-type" } } }, { "id": "DocumentReference.relatesTo.target", "path": "DocumentReference.relatesTo.target", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" } ], "isSummary": true }, { "id": "DocumentReference.description", "path": "DocumentReference.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DocumentReference.securityLabel", "path": "DocumentReference.securityLabel", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/security-labels" } } }, { "id": "DocumentReference.content", "path": "DocumentReference.content", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "DocumentReference.content.id", "path": "DocumentReference.content.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DocumentReference.content.extension", "path": "DocumentReference.content.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DocumentReference.content.modifierExtension", "path": "DocumentReference.content.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentReference.content.attachment", "path": "DocumentReference.content.attachment", "min": 1, "max": "1", "type": [ { "code": "Attachment" } ], "isSummary": true }, { "id": "DocumentReference.content.format", "path": "DocumentReference.content.format", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Document Format Codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/formatcodes" } } }, { "id": "DocumentReference.context", "path": "DocumentReference.context", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "DocumentReference.context.id", "path": "DocumentReference.context.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DocumentReference.context.extension", "path": "DocumentReference.context.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DocumentReference.context.modifierExtension", "path": "DocumentReference.context.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentReference.context.encounter", "path": "DocumentReference.context.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "DocumentReference.context.event", "path": "DocumentReference.context.event", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "This list of codes represents the main clinical acts being documented.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActCode" } } }, { "id": "DocumentReference.context.period", "path": "DocumentReference.context.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "DocumentReference.context.facilityType", "path": "DocumentReference.context.facilityType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "XDS Facility Type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-facilitycodes" } } }, { "id": "DocumentReference.context.practiceSetting", "path": "DocumentReference.context.practiceSetting", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Additional details about where the content was created (e.g. clinical specialty).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "DocumentReference.context.sourcePatientInfo", "path": "DocumentReference.context.sourcePatientInfo", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "DocumentReference.context.related", "path": "DocumentReference.context.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "DocumentReference.context.related.id", "path": "DocumentReference.context.related.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "DocumentReference.context.related.extension", "path": "DocumentReference.context.related.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "DocumentReference.context.related.modifierExtension", "path": "DocumentReference.context.related.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentReference.context.related.identifier", "path": "DocumentReference.context.related.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentReference.context.related.ref", "path": "DocumentReference.context.related.ref", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "DocumentReference", "path": "DocumentReference", "min": 0, "max": "*" }, { "id": "DocumentReference.masterIdentifier", "path": "DocumentReference.masterIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentReference.identifier", "path": "DocumentReference.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentReference.subject", "path": "DocumentReference.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "DocumentReference.type", "path": "DocumentReference.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Precise type of clinical document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" } } }, { "id": "DocumentReference.class", "path": "DocumentReference.class", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "High-level kind of a clinical document at a macro level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-doc-classcodes" } } }, { "id": "DocumentReference.author", "path": "DocumentReference.author", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "DocumentReference.custodian", "path": "DocumentReference.custodian", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DocumentReference.authenticator", "path": "DocumentReference.authenticator", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "DocumentReference.created", "path": "DocumentReference.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "DocumentReference.indexed", "path": "DocumentReference.indexed", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "DocumentReference.status", "path": "DocumentReference.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the document reference.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-reference-status" } } }, { "id": "DocumentReference.docStatus", "path": "DocumentReference.docStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "Status of the underlying document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composition-status" } } }, { "id": "DocumentReference.relatesTo", "path": "DocumentReference.relatesTo", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentReference.relatesTo.code", "path": "DocumentReference.relatesTo.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of relationship between documents.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-relationship-type" } } }, { "id": "DocumentReference.relatesTo.target", "path": "DocumentReference.relatesTo.target", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" } ], "isSummary": true }, { "id": "DocumentReference.description", "path": "DocumentReference.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DocumentReference.securityLabel", "path": "DocumentReference.securityLabel", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/security-labels" } } }, { "id": "DocumentReference.content", "path": "DocumentReference.content", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "DocumentReference.content.attachment", "path": "DocumentReference.content.attachment", "min": 1, "max": "1", "type": [ { "code": "Attachment" } ], "isSummary": true }, { "id": "DocumentReference.content.format", "path": "DocumentReference.content.format", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Document Format Codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/formatcodes" } } }, { "id": "DocumentReference.context", "path": "DocumentReference.context", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "DocumentReference.context.encounter", "path": "DocumentReference.context.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "DocumentReference.context.event", "path": "DocumentReference.context.event", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "This list of codes represents the main clinical acts being documented.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActCode" } } }, { "id": "DocumentReference.context.period", "path": "DocumentReference.context.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "DocumentReference.context.facilityType", "path": "DocumentReference.context.facilityType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "XDS Facility Type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-facilitycodes" } } }, { "id": "DocumentReference.context.practiceSetting", "path": "DocumentReference.context.practiceSetting", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Additional details about where the content was created (e.g. clinical specialty).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "DocumentReference.context.sourcePatientInfo", "path": "DocumentReference.context.sourcePatientInfo", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "DocumentReference.context.related", "path": "DocumentReference.context.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "DocumentReference.context.related.identifier", "path": "DocumentReference.context.related.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "DocumentReference.context.related.ref", "path": "DocumentReference.context.related.ref", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/EligibilityRequest", "resource": { "resourceType": "StructureDefinition", "id": "EligibilityRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Support" } ], "url": "http://hl7.org/fhir/StructureDefinition/EligibilityRequest", "name": "EligibilityRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "EligibilityRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "EligibilityRequest", "path": "EligibilityRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "EligibilityRequest.id", "path": "EligibilityRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "EligibilityRequest.meta", "path": "EligibilityRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "EligibilityRequest.implicitRules", "path": "EligibilityRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "EligibilityRequest.language", "path": "EligibilityRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "EligibilityRequest.text", "path": "EligibilityRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "EligibilityRequest.contained", "path": "EligibilityRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "EligibilityRequest.extension", "path": "EligibilityRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EligibilityRequest.modifierExtension", "path": "EligibilityRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "EligibilityRequest.identifier", "path": "EligibilityRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EligibilityRequest.status", "path": "EligibilityRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "EligibilityRequest.priority", "path": "EligibilityRequest.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The timeliness with which processing is required: STAT, normal, Deferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/process-priority" } } }, { "id": "EligibilityRequest.patient", "path": "EligibilityRequest.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "EligibilityRequest.serviced[x]", "path": "EligibilityRequest.serviced[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "EligibilityRequest.created", "path": "EligibilityRequest.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "EligibilityRequest.enterer", "path": "EligibilityRequest.enterer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EligibilityRequest.provider", "path": "EligibilityRequest.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EligibilityRequest.organization", "path": "EligibilityRequest.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EligibilityRequest.insurer", "path": "EligibilityRequest.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EligibilityRequest.facility", "path": "EligibilityRequest.facility", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "EligibilityRequest.coverage", "path": "EligibilityRequest.coverage", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "EligibilityRequest.businessArrangement", "path": "EligibilityRequest.businessArrangement", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EligibilityRequest.benefitCategory", "path": "EligibilityRequest.benefitCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit categories such as: oral, medical, vision etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-category" } } }, { "id": "EligibilityRequest.benefitSubCategory", "path": "EligibilityRequest.benefitSubCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } } ] }, "differential": { "element": [ { "id": "EligibilityRequest", "path": "EligibilityRequest", "min": 0, "max": "*" }, { "id": "EligibilityRequest.identifier", "path": "EligibilityRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EligibilityRequest.status", "path": "EligibilityRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "EligibilityRequest.priority", "path": "EligibilityRequest.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The timeliness with which processing is required: STAT, normal, Deferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/process-priority" } } }, { "id": "EligibilityRequest.patient", "path": "EligibilityRequest.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "EligibilityRequest.serviced[x]", "path": "EligibilityRequest.serviced[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "EligibilityRequest.created", "path": "EligibilityRequest.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "EligibilityRequest.enterer", "path": "EligibilityRequest.enterer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EligibilityRequest.provider", "path": "EligibilityRequest.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EligibilityRequest.organization", "path": "EligibilityRequest.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EligibilityRequest.insurer", "path": "EligibilityRequest.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EligibilityRequest.facility", "path": "EligibilityRequest.facility", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "EligibilityRequest.coverage", "path": "EligibilityRequest.coverage", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "EligibilityRequest.businessArrangement", "path": "EligibilityRequest.businessArrangement", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EligibilityRequest.benefitCategory", "path": "EligibilityRequest.benefitCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit categories such as: oral, medical, vision etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-category" } } }, { "id": "EligibilityRequest.benefitSubCategory", "path": "EligibilityRequest.benefitSubCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/EligibilityResponse", "resource": { "resourceType": "StructureDefinition", "id": "EligibilityResponse", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Support" } ], "url": "http://hl7.org/fhir/StructureDefinition/EligibilityResponse", "name": "EligibilityResponse", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "EligibilityResponse", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "EligibilityResponse", "path": "EligibilityResponse", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "EligibilityResponse.id", "path": "EligibilityResponse.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "EligibilityResponse.meta", "path": "EligibilityResponse.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "EligibilityResponse.implicitRules", "path": "EligibilityResponse.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "EligibilityResponse.language", "path": "EligibilityResponse.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "EligibilityResponse.text", "path": "EligibilityResponse.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "EligibilityResponse.contained", "path": "EligibilityResponse.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "EligibilityResponse.extension", "path": "EligibilityResponse.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EligibilityResponse.modifierExtension", "path": "EligibilityResponse.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "EligibilityResponse.identifier", "path": "EligibilityResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EligibilityResponse.status", "path": "EligibilityResponse.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "EligibilityResponse.created", "path": "EligibilityResponse.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "EligibilityResponse.requestProvider", "path": "EligibilityResponse.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EligibilityResponse.requestOrganization", "path": "EligibilityResponse.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EligibilityResponse.request", "path": "EligibilityResponse.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EligibilityRequest" } ] }, { "id": "EligibilityResponse.outcome", "path": "EligibilityResponse.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The outcome of the processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "EligibilityResponse.disposition", "path": "EligibilityResponse.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurer", "path": "EligibilityResponse.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EligibilityResponse.inforce", "path": "EligibilityResponse.inforce", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "EligibilityResponse.insurance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Insurance" } ], "path": "EligibilityResponse.insurance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "EligibilityResponse.insurance.id", "path": "EligibilityResponse.insurance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurance.extension", "path": "EligibilityResponse.insurance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EligibilityResponse.insurance.modifierExtension", "path": "EligibilityResponse.insurance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "EligibilityResponse.insurance.coverage", "path": "EligibilityResponse.insurance.coverage", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "EligibilityResponse.insurance.contract", "path": "EligibilityResponse.insurance.contract", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Benefits" } ], "path": "EligibilityResponse.insurance.benefitBalance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.id", "path": "EligibilityResponse.insurance.benefitBalance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.extension", "path": "EligibilityResponse.insurance.benefitBalance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.modifierExtension", "path": "EligibilityResponse.insurance.benefitBalance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "EligibilityResponse.insurance.benefitBalance.category", "path": "EligibilityResponse.insurance.benefitBalance.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit categories such as: oral, medical, vision etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-category" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.subCategory", "path": "EligibilityResponse.insurance.benefitBalance.subCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.excluded", "path": "EligibilityResponse.insurance.benefitBalance.excluded", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.name", "path": "EligibilityResponse.insurance.benefitBalance.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.description", "path": "EligibilityResponse.insurance.benefitBalance.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.network", "path": "EligibilityResponse.insurance.benefitBalance.network", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Code to classify in or out of network services", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-network" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.unit", "path": "EligibilityResponse.insurance.benefitBalance.unit", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Unit covered/serviced - individual or family", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-unit" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.term", "path": "EligibilityResponse.insurance.benefitBalance.term", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Coverage unit - annual, lifetime", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-term" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.financial", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Benefit" } ], "path": "EligibilityResponse.insurance.benefitBalance.financial", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.id", "path": "EligibilityResponse.insurance.benefitBalance.financial.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.extension", "path": "EligibilityResponse.insurance.benefitBalance.financial.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.modifierExtension", "path": "EligibilityResponse.insurance.benefitBalance.financial.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.type", "path": "EligibilityResponse.insurance.benefitBalance.financial.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Deductable, visits, co-pay, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-type" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.benefit[x]", "path": "EligibilityResponse.insurance.benefitBalance.financial.benefit[x]", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" }, { "code": "string" }, { "code": "Money" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.benefitUsed[x]", "path": "EligibilityResponse.insurance.benefitBalance.financial.benefitUsed[x]", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" }, { "code": "Money" } ] }, { "id": "EligibilityResponse.form", "path": "EligibilityResponse.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "EligibilityResponse.error", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Errors" } ], "path": "EligibilityResponse.error", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "EligibilityResponse.error.id", "path": "EligibilityResponse.error.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.error.extension", "path": "EligibilityResponse.error.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EligibilityResponse.error.modifierExtension", "path": "EligibilityResponse.error.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "EligibilityResponse.error.code", "path": "EligibilityResponse.error.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The error codes for adjudication processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-error" } } } ] }, "differential": { "element": [ { "id": "EligibilityResponse", "path": "EligibilityResponse", "min": 0, "max": "*" }, { "id": "EligibilityResponse.identifier", "path": "EligibilityResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EligibilityResponse.status", "path": "EligibilityResponse.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "EligibilityResponse.created", "path": "EligibilityResponse.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "EligibilityResponse.requestProvider", "path": "EligibilityResponse.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EligibilityResponse.requestOrganization", "path": "EligibilityResponse.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EligibilityResponse.request", "path": "EligibilityResponse.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EligibilityRequest" } ] }, { "id": "EligibilityResponse.outcome", "path": "EligibilityResponse.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The outcome of the processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "EligibilityResponse.disposition", "path": "EligibilityResponse.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurer", "path": "EligibilityResponse.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EligibilityResponse.inforce", "path": "EligibilityResponse.inforce", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "EligibilityResponse.insurance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Insurance" } ], "path": "EligibilityResponse.insurance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "EligibilityResponse.insurance.coverage", "path": "EligibilityResponse.insurance.coverage", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "EligibilityResponse.insurance.contract", "path": "EligibilityResponse.insurance.contract", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Benefits" } ], "path": "EligibilityResponse.insurance.benefitBalance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.category", "path": "EligibilityResponse.insurance.benefitBalance.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit categories such as: oral, medical, vision etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-category" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.subCategory", "path": "EligibilityResponse.insurance.benefitBalance.subCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.excluded", "path": "EligibilityResponse.insurance.benefitBalance.excluded", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.name", "path": "EligibilityResponse.insurance.benefitBalance.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.description", "path": "EligibilityResponse.insurance.benefitBalance.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.network", "path": "EligibilityResponse.insurance.benefitBalance.network", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Code to classify in or out of network services", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-network" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.unit", "path": "EligibilityResponse.insurance.benefitBalance.unit", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Unit covered/serviced - individual or family", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-unit" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.term", "path": "EligibilityResponse.insurance.benefitBalance.term", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Coverage unit - annual, lifetime", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-term" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.financial", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Benefit" } ], "path": "EligibilityResponse.insurance.benefitBalance.financial", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.type", "path": "EligibilityResponse.insurance.benefitBalance.financial.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Deductable, visits, co-pay, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-type" } } }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.benefit[x]", "path": "EligibilityResponse.insurance.benefitBalance.financial.benefit[x]", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" }, { "code": "string" }, { "code": "Money" } ] }, { "id": "EligibilityResponse.insurance.benefitBalance.financial.benefitUsed[x]", "path": "EligibilityResponse.insurance.benefitBalance.financial.benefitUsed[x]", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" }, { "code": "Money" } ] }, { "id": "EligibilityResponse.form", "path": "EligibilityResponse.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "EligibilityResponse.error", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Errors" } ], "path": "EligibilityResponse.error", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "EligibilityResponse.error.code", "path": "EligibilityResponse.error.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The error codes for adjudication processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-error" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Encounter", "resource": { "resourceType": "StructureDefinition", "id": "Encounter", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Patient Management" } ], "url": "http://hl7.org/fhir/StructureDefinition/Encounter", "name": "Encounter", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Encounter", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Encounter", "path": "Encounter", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Encounter.id", "path": "Encounter.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Encounter.meta", "path": "Encounter.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Encounter.implicitRules", "path": "Encounter.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Encounter.language", "path": "Encounter.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Encounter.text", "path": "Encounter.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Encounter.contained", "path": "Encounter.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Encounter.extension", "path": "Encounter.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Encounter.modifierExtension", "path": "Encounter.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Encounter.identifier", "path": "Encounter.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Encounter.status", "path": "Encounter.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Current state of the encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-status" } } }, { "id": "Encounter.statusHistory", "path": "Encounter.statusHistory", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Encounter.statusHistory.id", "path": "Encounter.statusHistory.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Encounter.statusHistory.extension", "path": "Encounter.statusHistory.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Encounter.statusHistory.modifierExtension", "path": "Encounter.statusHistory.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Encounter.statusHistory.status", "path": "Encounter.statusHistory.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Current state of the encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-status" } } }, { "id": "Encounter.statusHistory.period", "path": "Encounter.statusHistory.period", "min": 1, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Encounter.class", "path": "Encounter.class", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Classification of the encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode" } } }, { "id": "Encounter.type", "path": "Encounter.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The type of encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-type" } } }, { "id": "Encounter.priority", "path": "Encounter.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Indicates the urgency of the encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActPriority" } } }, { "id": "Encounter.patient", "path": "Encounter.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "Encounter.episodeOfCare", "path": "Encounter.episodeOfCare", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "Encounter.incomingReferral", "path": "Encounter.incomingReferral", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "Encounter.participant", "path": "Encounter.participant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Encounter.participant.id", "path": "Encounter.participant.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Encounter.participant.extension", "path": "Encounter.participant.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Encounter.participant.modifierExtension", "path": "Encounter.participant.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Encounter.participant.type", "path": "Encounter.participant.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Role of participant in encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type" } } }, { "id": "Encounter.participant.period", "path": "Encounter.participant.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Encounter.participant.individual", "path": "Encounter.participant.individual", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Encounter.appointment", "path": "Encounter.appointment", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" } ], "isSummary": true }, { "id": "Encounter.period", "path": "Encounter.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Encounter.length", "path": "Encounter.length", "min": 0, "max": "1", "type": [ { "code": "Duration" } ] }, { "id": "Encounter.reason", "path": "Encounter.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Reason why the encounter takes place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-reason" } } }, { "id": "Encounter.indication", "path": "Encounter.indication", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ] }, { "id": "Encounter.account", "path": "Encounter.account", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Account" } ] }, { "id": "Encounter.hospitalization", "path": "Encounter.hospitalization", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Encounter.hospitalization.id", "path": "Encounter.hospitalization.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Encounter.hospitalization.extension", "path": "Encounter.hospitalization.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Encounter.hospitalization.modifierExtension", "path": "Encounter.hospitalization.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Encounter.hospitalization.preAdmissionIdentifier", "path": "Encounter.hospitalization.preAdmissionIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Encounter.hospitalization.origin", "path": "Encounter.hospitalization.origin", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Encounter.hospitalization.admitSource", "path": "Encounter.hospitalization.admitSource", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "From where the patient was admitted.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-admit-source" } } }, { "id": "Encounter.hospitalization.admittingDiagnosis", "path": "Encounter.hospitalization.admittingDiagnosis", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "Encounter.hospitalization.reAdmission", "path": "Encounter.hospitalization.reAdmission", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason for re-admission of this hospitalization encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0092" } } }, { "id": "Encounter.hospitalization.dietPreference", "path": "Encounter.hospitalization.dietPreference", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Medical, cultural or ethical food preferences to help with catering requirements.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-diet" } } }, { "id": "Encounter.hospitalization.specialCourtesy", "path": "Encounter.hospitalization.specialCourtesy", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "Special courtesies", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-special-courtesy" } } }, { "id": "Encounter.hospitalization.specialArrangement", "path": "Encounter.hospitalization.specialArrangement", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "Special arrangements", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-special-arrangements" } } }, { "id": "Encounter.hospitalization.destination", "path": "Encounter.hospitalization.destination", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Encounter.hospitalization.dischargeDisposition", "path": "Encounter.hospitalization.dischargeDisposition", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Discharge Disposition", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition" } } }, { "id": "Encounter.hospitalization.dischargeDiagnosis", "path": "Encounter.hospitalization.dischargeDiagnosis", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "Encounter.location", "path": "Encounter.location", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Encounter.location.id", "path": "Encounter.location.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Encounter.location.extension", "path": "Encounter.location.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Encounter.location.modifierExtension", "path": "Encounter.location.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Encounter.location.location", "path": "Encounter.location.location", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Encounter.location.status", "path": "Encounter.location.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The status of the location.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-location-status" } } }, { "id": "Encounter.location.period", "path": "Encounter.location.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Encounter.serviceProvider", "path": "Encounter.serviceProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Encounter.partOf", "path": "Encounter.partOf", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] } ] }, "differential": { "element": [ { "id": "Encounter", "path": "Encounter", "min": 0, "max": "*" }, { "id": "Encounter.identifier", "path": "Encounter.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Encounter.status", "path": "Encounter.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Current state of the encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-status" } } }, { "id": "Encounter.statusHistory", "path": "Encounter.statusHistory", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Encounter.statusHistory.status", "path": "Encounter.statusHistory.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Current state of the encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-status" } } }, { "id": "Encounter.statusHistory.period", "path": "Encounter.statusHistory.period", "min": 1, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Encounter.class", "path": "Encounter.class", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Classification of the encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode" } } }, { "id": "Encounter.type", "path": "Encounter.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The type of encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-type" } } }, { "id": "Encounter.priority", "path": "Encounter.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Indicates the urgency of the encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActPriority" } } }, { "id": "Encounter.patient", "path": "Encounter.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "Encounter.episodeOfCare", "path": "Encounter.episodeOfCare", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "Encounter.incomingReferral", "path": "Encounter.incomingReferral", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "Encounter.participant", "path": "Encounter.participant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Encounter.participant.type", "path": "Encounter.participant.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Role of participant in encounter", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type" } } }, { "id": "Encounter.participant.period", "path": "Encounter.participant.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Encounter.participant.individual", "path": "Encounter.participant.individual", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Encounter.appointment", "path": "Encounter.appointment", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" } ], "isSummary": true }, { "id": "Encounter.period", "path": "Encounter.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Encounter.length", "path": "Encounter.length", "min": 0, "max": "1", "type": [ { "code": "Duration" } ] }, { "id": "Encounter.reason", "path": "Encounter.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Reason why the encounter takes place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-reason" } } }, { "id": "Encounter.indication", "path": "Encounter.indication", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ] }, { "id": "Encounter.account", "path": "Encounter.account", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Account" } ] }, { "id": "Encounter.hospitalization", "path": "Encounter.hospitalization", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Encounter.hospitalization.preAdmissionIdentifier", "path": "Encounter.hospitalization.preAdmissionIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Encounter.hospitalization.origin", "path": "Encounter.hospitalization.origin", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Encounter.hospitalization.admitSource", "path": "Encounter.hospitalization.admitSource", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "From where the patient was admitted.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-admit-source" } } }, { "id": "Encounter.hospitalization.admittingDiagnosis", "path": "Encounter.hospitalization.admittingDiagnosis", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "Encounter.hospitalization.reAdmission", "path": "Encounter.hospitalization.reAdmission", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason for re-admission of this hospitalization encounter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0092" } } }, { "id": "Encounter.hospitalization.dietPreference", "path": "Encounter.hospitalization.dietPreference", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Medical, cultural or ethical food preferences to help with catering requirements.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-diet" } } }, { "id": "Encounter.hospitalization.specialCourtesy", "path": "Encounter.hospitalization.specialCourtesy", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "Special courtesies", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-special-courtesy" } } }, { "id": "Encounter.hospitalization.specialArrangement", "path": "Encounter.hospitalization.specialArrangement", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "Special arrangements", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-special-arrangements" } } }, { "id": "Encounter.hospitalization.destination", "path": "Encounter.hospitalization.destination", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Encounter.hospitalization.dischargeDisposition", "path": "Encounter.hospitalization.dischargeDisposition", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Discharge Disposition", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition" } } }, { "id": "Encounter.hospitalization.dischargeDiagnosis", "path": "Encounter.hospitalization.dischargeDiagnosis", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "Encounter.location", "path": "Encounter.location", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Encounter.location.location", "path": "Encounter.location.location", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Encounter.location.status", "path": "Encounter.location.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The status of the location.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-location-status" } } }, { "id": "Encounter.location.period", "path": "Encounter.location.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Encounter.serviceProvider", "path": "Encounter.serviceProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Encounter.partOf", "path": "Encounter.partOf", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Endpoint", "resource": { "resourceType": "StructureDefinition", "id": "Endpoint", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Entities" } ], "url": "http://hl7.org/fhir/StructureDefinition/Endpoint", "name": "Endpoint", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Endpoint", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Endpoint", "path": "Endpoint", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Endpoint.id", "path": "Endpoint.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Endpoint.meta", "path": "Endpoint.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Endpoint.implicitRules", "path": "Endpoint.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Endpoint.language", "path": "Endpoint.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Endpoint.text", "path": "Endpoint.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Endpoint.contained", "path": "Endpoint.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Endpoint.extension", "path": "Endpoint.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Endpoint.modifierExtension", "path": "Endpoint.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Endpoint.identifier", "path": "Endpoint.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Endpoint.status", "path": "Endpoint.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/endpoint-status" } } }, { "id": "Endpoint.name", "path": "Endpoint.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Endpoint.managingOrganization", "path": "Endpoint.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Endpoint.contact", "path": "Endpoint.contact", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Endpoint.period", "path": "Endpoint.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Endpoint.connectionType", "path": "Endpoint.connectionType", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/endpoint-connection-type" } } }, { "id": "Endpoint.payloadType", "path": "Endpoint.payloadType", "min": 1, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/endpoint-payload-type" } } }, { "id": "Endpoint.payloadMimeType", "path": "Endpoint.payloadMimeType", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "Endpoint.address", "path": "Endpoint.address", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Endpoint.header", "path": "Endpoint.header", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": false }, { "id": "Endpoint.publicKey", "path": "Endpoint.publicKey", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "Endpoint", "path": "Endpoint", "min": 0, "max": "*" }, { "id": "Endpoint.identifier", "path": "Endpoint.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Endpoint.status", "path": "Endpoint.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/endpoint-status" } } }, { "id": "Endpoint.name", "path": "Endpoint.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Endpoint.managingOrganization", "path": "Endpoint.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Endpoint.contact", "path": "Endpoint.contact", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Endpoint.period", "path": "Endpoint.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Endpoint.connectionType", "path": "Endpoint.connectionType", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/endpoint-connection-type" } } }, { "id": "Endpoint.payloadType", "path": "Endpoint.payloadType", "min": 1, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/endpoint-payload-type" } } }, { "id": "Endpoint.payloadMimeType", "path": "Endpoint.payloadMimeType", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "Endpoint.address", "path": "Endpoint.address", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Endpoint.header", "path": "Endpoint.header", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": false }, { "id": "Endpoint.publicKey", "path": "Endpoint.publicKey", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest", "resource": { "resourceType": "StructureDefinition", "id": "EnrollmentRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Support" } ], "url": "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest", "name": "EnrollmentRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "EnrollmentRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "EnrollmentRequest", "path": "EnrollmentRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "EnrollmentRequest.id", "path": "EnrollmentRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "EnrollmentRequest.meta", "path": "EnrollmentRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "EnrollmentRequest.implicitRules", "path": "EnrollmentRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "EnrollmentRequest.language", "path": "EnrollmentRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "EnrollmentRequest.text", "path": "EnrollmentRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "EnrollmentRequest.contained", "path": "EnrollmentRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "EnrollmentRequest.extension", "path": "EnrollmentRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EnrollmentRequest.modifierExtension", "path": "EnrollmentRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "EnrollmentRequest.identifier", "path": "EnrollmentRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EnrollmentRequest.status", "path": "EnrollmentRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "EnrollmentRequest.created", "path": "EnrollmentRequest.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "EnrollmentRequest.insurer", "path": "EnrollmentRequest.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EnrollmentRequest.provider", "path": "EnrollmentRequest.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EnrollmentRequest.organization", "path": "EnrollmentRequest.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EnrollmentRequest.subject", "path": "EnrollmentRequest.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "EnrollmentRequest.coverage", "path": "EnrollmentRequest.coverage", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] } ] }, "differential": { "element": [ { "id": "EnrollmentRequest", "path": "EnrollmentRequest", "min": 0, "max": "*" }, { "id": "EnrollmentRequest.identifier", "path": "EnrollmentRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EnrollmentRequest.status", "path": "EnrollmentRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "EnrollmentRequest.created", "path": "EnrollmentRequest.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "EnrollmentRequest.insurer", "path": "EnrollmentRequest.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EnrollmentRequest.provider", "path": "EnrollmentRequest.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EnrollmentRequest.organization", "path": "EnrollmentRequest.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EnrollmentRequest.subject", "path": "EnrollmentRequest.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "EnrollmentRequest.coverage", "path": "EnrollmentRequest.coverage", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse", "resource": { "resourceType": "StructureDefinition", "id": "EnrollmentResponse", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Support" } ], "url": "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse", "name": "EnrollmentResponse", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "EnrollmentResponse", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "EnrollmentResponse", "path": "EnrollmentResponse", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "EnrollmentResponse.id", "path": "EnrollmentResponse.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "EnrollmentResponse.meta", "path": "EnrollmentResponse.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "EnrollmentResponse.implicitRules", "path": "EnrollmentResponse.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "EnrollmentResponse.language", "path": "EnrollmentResponse.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "EnrollmentResponse.text", "path": "EnrollmentResponse.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "EnrollmentResponse.contained", "path": "EnrollmentResponse.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "EnrollmentResponse.extension", "path": "EnrollmentResponse.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EnrollmentResponse.modifierExtension", "path": "EnrollmentResponse.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "EnrollmentResponse.identifier", "path": "EnrollmentResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EnrollmentResponse.status", "path": "EnrollmentResponse.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "EnrollmentResponse.request", "path": "EnrollmentResponse.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest" } ] }, { "id": "EnrollmentResponse.outcome", "path": "EnrollmentResponse.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The outcome of the processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "EnrollmentResponse.disposition", "path": "EnrollmentResponse.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EnrollmentResponse.created", "path": "EnrollmentResponse.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "EnrollmentResponse.organization", "path": "EnrollmentResponse.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EnrollmentResponse.requestProvider", "path": "EnrollmentResponse.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EnrollmentResponse.requestOrganization", "path": "EnrollmentResponse.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] } ] }, "differential": { "element": [ { "id": "EnrollmentResponse", "path": "EnrollmentResponse", "min": 0, "max": "*" }, { "id": "EnrollmentResponse.identifier", "path": "EnrollmentResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EnrollmentResponse.status", "path": "EnrollmentResponse.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "EnrollmentResponse.request", "path": "EnrollmentResponse.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest" } ] }, { "id": "EnrollmentResponse.outcome", "path": "EnrollmentResponse.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The outcome of the processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "EnrollmentResponse.disposition", "path": "EnrollmentResponse.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "EnrollmentResponse.created", "path": "EnrollmentResponse.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "EnrollmentResponse.organization", "path": "EnrollmentResponse.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "EnrollmentResponse.requestProvider", "path": "EnrollmentResponse.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EnrollmentResponse.requestOrganization", "path": "EnrollmentResponse.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare", "resource": { "resourceType": "StructureDefinition", "id": "EpisodeOfCare", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Patient Management" } ], "url": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare", "name": "EpisodeOfCare", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "EpisodeOfCare", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "EpisodeOfCare", "path": "EpisodeOfCare", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "EpisodeOfCare.id", "path": "EpisodeOfCare.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "EpisodeOfCare.meta", "path": "EpisodeOfCare.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "EpisodeOfCare.implicitRules", "path": "EpisodeOfCare.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "EpisodeOfCare.language", "path": "EpisodeOfCare.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "EpisodeOfCare.text", "path": "EpisodeOfCare.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "EpisodeOfCare.contained", "path": "EpisodeOfCare.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "EpisodeOfCare.extension", "path": "EpisodeOfCare.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EpisodeOfCare.modifierExtension", "path": "EpisodeOfCare.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "EpisodeOfCare.identifier", "path": "EpisodeOfCare.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EpisodeOfCare.status", "path": "EpisodeOfCare.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the episode of care.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status" } } }, { "id": "EpisodeOfCare.statusHistory", "path": "EpisodeOfCare.statusHistory", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "EpisodeOfCare.statusHistory.id", "path": "EpisodeOfCare.statusHistory.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "EpisodeOfCare.statusHistory.extension", "path": "EpisodeOfCare.statusHistory.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "EpisodeOfCare.statusHistory.modifierExtension", "path": "EpisodeOfCare.statusHistory.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "EpisodeOfCare.statusHistory.status", "path": "EpisodeOfCare.statusHistory.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The status of the episode of care.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status" } } }, { "id": "EpisodeOfCare.statusHistory.period", "path": "EpisodeOfCare.statusHistory.period", "min": 1, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "EpisodeOfCare.type", "path": "EpisodeOfCare.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The type of the episode of care" } }, { "id": "EpisodeOfCare.condition", "path": "EpisodeOfCare.condition", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "EpisodeOfCare.patient", "path": "EpisodeOfCare.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "EpisodeOfCare.managingOrganization", "path": "EpisodeOfCare.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "EpisodeOfCare.period", "path": "EpisodeOfCare.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "EpisodeOfCare.referralRequest", "path": "EpisodeOfCare.referralRequest", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "EpisodeOfCare.careManager", "path": "EpisodeOfCare.careManager", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EpisodeOfCare.team", "path": "EpisodeOfCare.team", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ] }, { "id": "EpisodeOfCare.account", "path": "EpisodeOfCare.account", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Account" } ] } ] }, "differential": { "element": [ { "id": "EpisodeOfCare", "path": "EpisodeOfCare", "min": 0, "max": "*" }, { "id": "EpisodeOfCare.identifier", "path": "EpisodeOfCare.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "EpisodeOfCare.status", "path": "EpisodeOfCare.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the episode of care.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status" } } }, { "id": "EpisodeOfCare.statusHistory", "path": "EpisodeOfCare.statusHistory", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "EpisodeOfCare.statusHistory.status", "path": "EpisodeOfCare.statusHistory.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The status of the episode of care.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status" } } }, { "id": "EpisodeOfCare.statusHistory.period", "path": "EpisodeOfCare.statusHistory.period", "min": 1, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "EpisodeOfCare.type", "path": "EpisodeOfCare.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The type of the episode of care" } }, { "id": "EpisodeOfCare.condition", "path": "EpisodeOfCare.condition", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "EpisodeOfCare.patient", "path": "EpisodeOfCare.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "EpisodeOfCare.managingOrganization", "path": "EpisodeOfCare.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "EpisodeOfCare.period", "path": "EpisodeOfCare.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "EpisodeOfCare.referralRequest", "path": "EpisodeOfCare.referralRequest", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "EpisodeOfCare.careManager", "path": "EpisodeOfCare.careManager", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "EpisodeOfCare.team", "path": "EpisodeOfCare.team", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ] }, { "id": "EpisodeOfCare.account", "path": "EpisodeOfCare.account", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Account" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ExpansionProfile", "resource": { "resourceType": "StructureDefinition", "id": "ExpansionProfile", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "vocab" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Terminology" } ], "url": "http://hl7.org/fhir/StructureDefinition/ExpansionProfile", "name": "ExpansionProfile", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ExpansionProfile", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "ExpansionProfile", "path": "ExpansionProfile", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ExpansionProfile.id", "path": "ExpansionProfile.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ExpansionProfile.meta", "path": "ExpansionProfile.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ExpansionProfile.implicitRules", "path": "ExpansionProfile.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.language", "path": "ExpansionProfile.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExpansionProfile.text", "path": "ExpansionProfile.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ExpansionProfile.contained", "path": "ExpansionProfile.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ExpansionProfile.extension", "path": "ExpansionProfile.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExpansionProfile.modifierExtension", "path": "ExpansionProfile.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ExpansionProfile.url", "path": "ExpansionProfile.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ExpansionProfile.identifier", "path": "ExpansionProfile.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ExpansionProfile.version", "path": "ExpansionProfile.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ExpansionProfile.name", "path": "ExpansionProfile.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ExpansionProfile.status", "path": "ExpansionProfile.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ExpansionProfile.experimental", "path": "ExpansionProfile.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.publisher", "path": "ExpansionProfile.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ExpansionProfile.contact", "path": "ExpansionProfile.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ExpansionProfile.date", "path": "ExpansionProfile.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ExpansionProfile.description", "path": "ExpansionProfile.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ExpansionProfile.useContext", "path": "ExpansionProfile.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ExpansionProfile.jurisdiction", "path": "ExpansionProfile.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ExpansionProfile.fixedVersion", "path": "ExpansionProfile.fixedVersion", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ExpansionProfile.fixedVersion.id", "path": "ExpansionProfile.fixedVersion.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExpansionProfile.fixedVersion.extension", "path": "ExpansionProfile.fixedVersion.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExpansionProfile.fixedVersion.modifierExtension", "path": "ExpansionProfile.fixedVersion.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.fixedVersion.system", "path": "ExpansionProfile.fixedVersion.system", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ExpansionProfile.fixedVersion.version", "path": "ExpansionProfile.fixedVersion.version", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ExpansionProfile.fixedVersion.mode", "path": "ExpansionProfile.fixedVersion.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How to manage the intersection between a fixed version in a value set, and a fixed version of the system in the expansion profile", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/system-version-processing-mode" } } }, { "id": "ExpansionProfile.excludedSystem", "path": "ExpansionProfile.excludedSystem", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ExpansionProfile.excludedSystem.id", "path": "ExpansionProfile.excludedSystem.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExpansionProfile.excludedSystem.extension", "path": "ExpansionProfile.excludedSystem.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExpansionProfile.excludedSystem.modifierExtension", "path": "ExpansionProfile.excludedSystem.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.excludedSystem.system", "path": "ExpansionProfile.excludedSystem.system", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ExpansionProfile.excludedSystem.version", "path": "ExpansionProfile.excludedSystem.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "meaningWhenMissing": "Exclusion is not version specific", "isSummary": true }, { "id": "ExpansionProfile.includeDesignations", "path": "ExpansionProfile.includeDesignations", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ExpansionProfile.designation", "path": "ExpansionProfile.designation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.id", "path": "ExpansionProfile.designation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExpansionProfile.designation.extension", "path": "ExpansionProfile.designation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExpansionProfile.designation.modifierExtension", "path": "ExpansionProfile.designation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.designation.include", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "DesignationInclude" } ], "path": "ExpansionProfile.designation.include", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.include.id", "path": "ExpansionProfile.designation.include.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExpansionProfile.designation.include.extension", "path": "ExpansionProfile.designation.include.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExpansionProfile.designation.include.modifierExtension", "path": "ExpansionProfile.designation.include.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.designation.include.designation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "DesignationIncludeDesignation" } ], "path": "ExpansionProfile.designation.include.designation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "exp-3", "severity": "error", "human": "SHALL have at least one of language or use", "expression": "language.exists() or use.exists()", "xpath": "exists(f:language) or exists(f:use)" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.include.designation.id", "path": "ExpansionProfile.designation.include.designation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExpansionProfile.designation.include.designation.extension", "path": "ExpansionProfile.designation.include.designation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExpansionProfile.designation.include.designation.modifierExtension", "path": "ExpansionProfile.designation.include.designation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.designation.include.designation.language", "path": "ExpansionProfile.designation.include.designation.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExpansionProfile.designation.include.designation.use", "path": "ExpansionProfile.designation.include.designation.use", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "required", "description": "Details of how a designation would be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/designation-use" } } }, { "id": "ExpansionProfile.designation.exclude", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "DesignationExclude" } ], "path": "ExpansionProfile.designation.exclude", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.exclude.id", "path": "ExpansionProfile.designation.exclude.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExpansionProfile.designation.exclude.extension", "path": "ExpansionProfile.designation.exclude.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExpansionProfile.designation.exclude.modifierExtension", "path": "ExpansionProfile.designation.exclude.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.designation.exclude.designation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "DesignationExcludeDesignation" } ], "path": "ExpansionProfile.designation.exclude.designation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "exp-4", "severity": "error", "human": "SHALL have at least one of language or use", "expression": "language.exists() or use.exists()", "xpath": "exists(f:language) or exists(f:use)" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.exclude.designation.id", "path": "ExpansionProfile.designation.exclude.designation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExpansionProfile.designation.exclude.designation.extension", "path": "ExpansionProfile.designation.exclude.designation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExpansionProfile.designation.exclude.designation.modifierExtension", "path": "ExpansionProfile.designation.exclude.designation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.designation.exclude.designation.language", "path": "ExpansionProfile.designation.exclude.designation.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExpansionProfile.designation.exclude.designation.use", "path": "ExpansionProfile.designation.exclude.designation.use", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "required", "description": "Details of how a designation would be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/designation-use" } } }, { "id": "ExpansionProfile.includeDefinition", "path": "ExpansionProfile.includeDefinition", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "isSummary": true }, { "id": "ExpansionProfile.activeOnly", "path": "ExpansionProfile.activeOnly", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "isSummary": true }, { "id": "ExpansionProfile.excludeNested", "path": "ExpansionProfile.excludeNested", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ExpansionProfile.excludeNotForUI", "path": "ExpansionProfile.excludeNotForUI", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ExpansionProfile.excludePostCoordinated", "path": "ExpansionProfile.excludePostCoordinated", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ExpansionProfile.displayLanguage", "path": "ExpansionProfile.displayLanguage", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExpansionProfile.limitedExpansion", "path": "ExpansionProfile.limitedExpansion", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "ExpansionProfile", "path": "ExpansionProfile", "min": 0, "max": "*" }, { "id": "ExpansionProfile.url", "path": "ExpansionProfile.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ExpansionProfile.identifier", "path": "ExpansionProfile.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ExpansionProfile.version", "path": "ExpansionProfile.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ExpansionProfile.name", "path": "ExpansionProfile.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ExpansionProfile.status", "path": "ExpansionProfile.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ExpansionProfile.experimental", "path": "ExpansionProfile.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ExpansionProfile.publisher", "path": "ExpansionProfile.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ExpansionProfile.contact", "path": "ExpansionProfile.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ExpansionProfile.date", "path": "ExpansionProfile.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ExpansionProfile.description", "path": "ExpansionProfile.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ExpansionProfile.useContext", "path": "ExpansionProfile.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ExpansionProfile.jurisdiction", "path": "ExpansionProfile.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ExpansionProfile.fixedVersion", "path": "ExpansionProfile.fixedVersion", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ExpansionProfile.fixedVersion.system", "path": "ExpansionProfile.fixedVersion.system", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ExpansionProfile.fixedVersion.version", "path": "ExpansionProfile.fixedVersion.version", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ExpansionProfile.fixedVersion.mode", "path": "ExpansionProfile.fixedVersion.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How to manage the intersection between a fixed version in a value set, and a fixed version of the system in the expansion profile", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/system-version-processing-mode" } } }, { "id": "ExpansionProfile.excludedSystem", "path": "ExpansionProfile.excludedSystem", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ExpansionProfile.excludedSystem.system", "path": "ExpansionProfile.excludedSystem.system", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ExpansionProfile.excludedSystem.version", "path": "ExpansionProfile.excludedSystem.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "meaningWhenMissing": "Exclusion is not version specific", "isSummary": true }, { "id": "ExpansionProfile.includeDesignations", "path": "ExpansionProfile.includeDesignations", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ExpansionProfile.designation", "path": "ExpansionProfile.designation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.include", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "DesignationInclude" } ], "path": "ExpansionProfile.designation.include", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.include.designation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "DesignationIncludeDesignation" } ], "path": "ExpansionProfile.designation.include.designation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "exp-3", "severity": "error", "human": "SHALL have at least one of language or use", "expression": "language.exists() or use.exists()", "xpath": "exists(f:language) or exists(f:use)" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.include.designation.language", "path": "ExpansionProfile.designation.include.designation.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExpansionProfile.designation.include.designation.use", "path": "ExpansionProfile.designation.include.designation.use", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "required", "description": "Details of how a designation would be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/designation-use" } } }, { "id": "ExpansionProfile.designation.exclude", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "DesignationExclude" } ], "path": "ExpansionProfile.designation.exclude", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.exclude.designation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "DesignationExcludeDesignation" } ], "path": "ExpansionProfile.designation.exclude.designation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "exp-4", "severity": "error", "human": "SHALL have at least one of language or use", "expression": "language.exists() or use.exists()", "xpath": "exists(f:language) or exists(f:use)" } ], "isSummary": true }, { "id": "ExpansionProfile.designation.exclude.designation.language", "path": "ExpansionProfile.designation.exclude.designation.language", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExpansionProfile.designation.exclude.designation.use", "path": "ExpansionProfile.designation.exclude.designation.use", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "required", "description": "Details of how a designation would be used.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/designation-use" } } }, { "id": "ExpansionProfile.includeDefinition", "path": "ExpansionProfile.includeDefinition", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "isSummary": true }, { "id": "ExpansionProfile.activeOnly", "path": "ExpansionProfile.activeOnly", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "isSummary": true }, { "id": "ExpansionProfile.excludeNested", "path": "ExpansionProfile.excludeNested", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ExpansionProfile.excludeNotForUI", "path": "ExpansionProfile.excludeNotForUI", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ExpansionProfile.excludePostCoordinated", "path": "ExpansionProfile.excludePostCoordinated", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ExpansionProfile.displayLanguage", "path": "ExpansionProfile.displayLanguage", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExpansionProfile.limitedExpansion", "path": "ExpansionProfile.limitedExpansion", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit", "resource": { "resourceType": "StructureDefinition", "id": "ExplanationOfBenefit", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Other" } ], "url": "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit", "name": "ExplanationOfBenefit", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ExplanationOfBenefit", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ExplanationOfBenefit", "path": "ExplanationOfBenefit", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ExplanationOfBenefit.id", "path": "ExplanationOfBenefit.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ExplanationOfBenefit.meta", "path": "ExplanationOfBenefit.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ExplanationOfBenefit.implicitRules", "path": "ExplanationOfBenefit.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.language", "path": "ExplanationOfBenefit.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExplanationOfBenefit.text", "path": "ExplanationOfBenefit.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ExplanationOfBenefit.contained", "path": "ExplanationOfBenefit.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ExplanationOfBenefit.extension", "path": "ExplanationOfBenefit.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.modifierExtension", "path": "ExplanationOfBenefit.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ExplanationOfBenefit.identifier", "path": "ExplanationOfBenefit.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "ExplanationOfBenefit.status", "path": "ExplanationOfBenefit.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/explanationofbenefit-status" } } }, { "id": "ExplanationOfBenefit.type", "path": "ExplanationOfBenefit.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The type or discipline-style of the claim", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-type" } } }, { "id": "ExplanationOfBenefit.subType", "path": "ExplanationOfBenefit.subType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A more granulat claim typecode", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-subtype" } } }, { "id": "ExplanationOfBenefit.patient", "path": "ExplanationOfBenefit.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "ExplanationOfBenefit.billablePeriod", "path": "ExplanationOfBenefit.billablePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.created", "path": "ExplanationOfBenefit.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ExplanationOfBenefit.enterer", "path": "ExplanationOfBenefit.enterer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ExplanationOfBenefit.insurer", "path": "ExplanationOfBenefit.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ExplanationOfBenefit.provider", "path": "ExplanationOfBenefit.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ExplanationOfBenefit.organization", "path": "ExplanationOfBenefit.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ExplanationOfBenefit.referral", "path": "ExplanationOfBenefit.referral", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "ExplanationOfBenefit.facility", "path": "ExplanationOfBenefit.facility", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "ExplanationOfBenefit.claim", "path": "ExplanationOfBenefit.claim", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Claim" } ] }, { "id": "ExplanationOfBenefit.claimResponse", "path": "ExplanationOfBenefit.claimResponse", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClaimResponse" } ] }, { "id": "ExplanationOfBenefit.outcome", "path": "ExplanationOfBenefit.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The result of the claim processing", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "ExplanationOfBenefit.disposition", "path": "ExplanationOfBenefit.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.related", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RelatedClaim" } ], "path": "ExplanationOfBenefit.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.related.id", "path": "ExplanationOfBenefit.related.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.related.extension", "path": "ExplanationOfBenefit.related.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.related.modifierExtension", "path": "ExplanationOfBenefit.related.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.related.claim", "path": "ExplanationOfBenefit.related.claim", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Claim" } ] }, { "id": "ExplanationOfBenefit.related.relationship", "path": "ExplanationOfBenefit.related.relationship", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Relationship of this claim to a related Claim", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/related-claim-relationship" } } }, { "id": "ExplanationOfBenefit.related.reference", "path": "ExplanationOfBenefit.related.reference", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "ExplanationOfBenefit.prescription", "path": "ExplanationOfBenefit.prescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/VisionPrescription" } ] }, { "id": "ExplanationOfBenefit.originalPrescription", "path": "ExplanationOfBenefit.originalPrescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "ExplanationOfBenefit.payee", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Payee" } ], "path": "ExplanationOfBenefit.payee", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.payee.id", "path": "ExplanationOfBenefit.payee.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.payee.extension", "path": "ExplanationOfBenefit.payee.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.payee.modifierExtension", "path": "ExplanationOfBenefit.payee.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.payee.type", "path": "ExplanationOfBenefit.payee.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A code for the party to be reimbursed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payeetype" } } }, { "id": "ExplanationOfBenefit.payee.resourceType", "path": "ExplanationOfBenefit.payee.resourceType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The type of payee Resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-type-link" } } }, { "id": "ExplanationOfBenefit.payee.party[x]", "path": "ExplanationOfBenefit.payee.party[x]", "min": 0, "max": "1", "type": [ { "code": "Identifier" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "ExplanationOfBenefit.information", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SupportingInformation" } ], "path": "ExplanationOfBenefit.information", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.information.id", "path": "ExplanationOfBenefit.information.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.information.extension", "path": "ExplanationOfBenefit.information.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.information.modifierExtension", "path": "ExplanationOfBenefit.information.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.information.category", "path": "ExplanationOfBenefit.information.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The valuset used for additional information category codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-informationcategory" } } }, { "id": "ExplanationOfBenefit.information.code", "path": "ExplanationOfBenefit.information.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The valuset used for additional information codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-exception" } } }, { "id": "ExplanationOfBenefit.information.timing[x]", "path": "ExplanationOfBenefit.information.timing[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.information.value[x]", "path": "ExplanationOfBenefit.information.value[x]", "min": 0, "max": "1", "type": [ { "code": "string" }, { "code": "Quantity" }, { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "ExplanationOfBenefit.information.reason", "path": "ExplanationOfBenefit.information.reason", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "example", "description": "Reason codes for the missing teeth", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/missing-tooth-reason" } } }, { "id": "ExplanationOfBenefit.careTeam", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "CareTeam" } ], "path": "ExplanationOfBenefit.careTeam", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.careTeam.id", "path": "ExplanationOfBenefit.careTeam.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.careTeam.extension", "path": "ExplanationOfBenefit.careTeam.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.careTeam.modifierExtension", "path": "ExplanationOfBenefit.careTeam.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.careTeam.sequence", "path": "ExplanationOfBenefit.careTeam.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.careTeam.provider", "path": "ExplanationOfBenefit.careTeam.provider", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ExplanationOfBenefit.careTeam.responsible", "path": "ExplanationOfBenefit.careTeam.responsible", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ExplanationOfBenefit.careTeam.role", "path": "ExplanationOfBenefit.careTeam.role", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The role codes for the care team members.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-careteamrole" } } }, { "id": "ExplanationOfBenefit.careTeam.qualification", "path": "ExplanationOfBenefit.careTeam.qualification", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Provider professional qualifications", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/provider-qualification" } } }, { "id": "ExplanationOfBenefit.diagnosis", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Diagnosis" } ], "path": "ExplanationOfBenefit.diagnosis", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.diagnosis.id", "path": "ExplanationOfBenefit.diagnosis.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.diagnosis.extension", "path": "ExplanationOfBenefit.diagnosis.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.diagnosis.modifierExtension", "path": "ExplanationOfBenefit.diagnosis.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.diagnosis.sequence", "path": "ExplanationOfBenefit.diagnosis.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.diagnosis.diagnosis[x]", "path": "ExplanationOfBenefit.diagnosis.diagnosis[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "binding": { "strength": "example", "description": "ICD10 Diagnostic codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/icd-10" } } }, { "id": "ExplanationOfBenefit.diagnosis.type", "path": "ExplanationOfBenefit.diagnosis.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The type of the diagnosis: admitting, principal, discharge", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-diagnosistype" } } }, { "id": "ExplanationOfBenefit.diagnosis.packageCode", "path": "ExplanationOfBenefit.diagnosis.packageCode", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The DRG codes associated with the diagnosis", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup" } } }, { "id": "ExplanationOfBenefit.procedure", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Procedure" } ], "path": "ExplanationOfBenefit.procedure", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.procedure.id", "path": "ExplanationOfBenefit.procedure.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.procedure.extension", "path": "ExplanationOfBenefit.procedure.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.procedure.modifierExtension", "path": "ExplanationOfBenefit.procedure.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.procedure.sequence", "path": "ExplanationOfBenefit.procedure.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.procedure.date", "path": "ExplanationOfBenefit.procedure.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ExplanationOfBenefit.procedure.procedure[x]", "path": "ExplanationOfBenefit.procedure.procedure[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "binding": { "strength": "example", "description": "ICD10 Procedure codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/icd-10-procedures" } } }, { "id": "ExplanationOfBenefit.precedence", "path": "ExplanationOfBenefit.precedence", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.insurance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Insurance" } ], "path": "ExplanationOfBenefit.insurance", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.insurance.id", "path": "ExplanationOfBenefit.insurance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.insurance.extension", "path": "ExplanationOfBenefit.insurance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.insurance.modifierExtension", "path": "ExplanationOfBenefit.insurance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.insurance.coverage", "path": "ExplanationOfBenefit.insurance.coverage", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "ExplanationOfBenefit.insurance.preAuthRef", "path": "ExplanationOfBenefit.insurance.preAuthRef", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.accident", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Accident" } ], "path": "ExplanationOfBenefit.accident", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.accident.id", "path": "ExplanationOfBenefit.accident.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.accident.extension", "path": "ExplanationOfBenefit.accident.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.accident.modifierExtension", "path": "ExplanationOfBenefit.accident.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.accident.date", "path": "ExplanationOfBenefit.accident.date", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ExplanationOfBenefit.accident.type", "path": "ExplanationOfBenefit.accident.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "Type of accident: work place, auto, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActIncidentCode" } } }, { "id": "ExplanationOfBenefit.accident.location[x]", "path": "ExplanationOfBenefit.accident.location[x]", "min": 0, "max": "1", "type": [ { "code": "Address" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "ExplanationOfBenefit.employmentImpacted", "path": "ExplanationOfBenefit.employmentImpacted", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.hospitalization", "path": "ExplanationOfBenefit.hospitalization", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.item", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Item" } ], "path": "ExplanationOfBenefit.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.item.id", "path": "ExplanationOfBenefit.item.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.item.extension", "path": "ExplanationOfBenefit.item.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.item.modifierExtension", "path": "ExplanationOfBenefit.item.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.item.sequence", "path": "ExplanationOfBenefit.item.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.careTeamLinkId", "path": "ExplanationOfBenefit.item.careTeamLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.diagnosisLinkId", "path": "ExplanationOfBenefit.item.diagnosisLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.procedureLinkId", "path": "ExplanationOfBenefit.item.procedureLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.informationLinkId", "path": "ExplanationOfBenefit.item.informationLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.revenue", "path": "ExplanationOfBenefit.item.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.item.category", "path": "ExplanationOfBenefit.item.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.item.service", "path": "ExplanationOfBenefit.item.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.item.modifier", "path": "ExplanationOfBenefit.item.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.item.programCode", "path": "ExplanationOfBenefit.item.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "ExplanationOfBenefit.item.serviced[x]", "path": "ExplanationOfBenefit.item.serviced[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.item.location[x]", "path": "ExplanationOfBenefit.item.location[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Address" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "binding": { "strength": "example", "description": "Place where the service is rendered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-place" } } }, { "id": "ExplanationOfBenefit.item.quantity", "path": "ExplanationOfBenefit.item.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "ExplanationOfBenefit.item.unitPrice", "path": "ExplanationOfBenefit.item.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.factor", "path": "ExplanationOfBenefit.item.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ExplanationOfBenefit.item.net", "path": "ExplanationOfBenefit.item.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.udi", "path": "ExplanationOfBenefit.item.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "ExplanationOfBenefit.item.bodySite", "path": "ExplanationOfBenefit.item.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for the teeth, quadrant, sextant and arch", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/tooth" } } }, { "id": "ExplanationOfBenefit.item.subSite", "path": "ExplanationOfBenefit.item.subSite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for the tooth surface and surface combinations", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/surface" } } }, { "id": "ExplanationOfBenefit.item.noteNumber", "path": "ExplanationOfBenefit.item.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.adjudication", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Adjudication" } ], "path": "ExplanationOfBenefit.item.adjudication", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.item.adjudication.id", "path": "ExplanationOfBenefit.item.adjudication.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.item.adjudication.extension", "path": "ExplanationOfBenefit.item.adjudication.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.item.adjudication.modifierExtension", "path": "ExplanationOfBenefit.item.adjudication.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.item.adjudication.category", "path": "ExplanationOfBenefit.item.adjudication.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The adjudication codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication" } } }, { "id": "ExplanationOfBenefit.item.adjudication.reason", "path": "ExplanationOfBenefit.item.adjudication.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Adjudication reason codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-reason" } } }, { "id": "ExplanationOfBenefit.item.adjudication.amount", "path": "ExplanationOfBenefit.item.adjudication.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.adjudication.value", "path": "ExplanationOfBenefit.item.adjudication.value", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ExplanationOfBenefit.item.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Detail" } ], "path": "ExplanationOfBenefit.item.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.item.detail.id", "path": "ExplanationOfBenefit.item.detail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.item.detail.extension", "path": "ExplanationOfBenefit.item.detail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.item.detail.modifierExtension", "path": "ExplanationOfBenefit.item.detail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.item.detail.sequence", "path": "ExplanationOfBenefit.item.detail.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.detail.type", "path": "ExplanationOfBenefit.item.detail.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "Service, Product, Rx Dispense, Rx Compound etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode" } } }, { "id": "ExplanationOfBenefit.item.detail.revenue", "path": "ExplanationOfBenefit.item.detail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.item.detail.category", "path": "ExplanationOfBenefit.item.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.item.detail.service", "path": "ExplanationOfBenefit.item.detail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.item.detail.modifier", "path": "ExplanationOfBenefit.item.detail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.item.detail.programCode", "path": "ExplanationOfBenefit.item.detail.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "ExplanationOfBenefit.item.detail.quantity", "path": "ExplanationOfBenefit.item.detail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "ExplanationOfBenefit.item.detail.unitPrice", "path": "ExplanationOfBenefit.item.detail.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.detail.factor", "path": "ExplanationOfBenefit.item.detail.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ExplanationOfBenefit.item.detail.net", "path": "ExplanationOfBenefit.item.detail.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.detail.udi", "path": "ExplanationOfBenefit.item.detail.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "ExplanationOfBenefit.item.detail.noteNumber", "path": "ExplanationOfBenefit.item.detail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.detail.adjudication", "path": "ExplanationOfBenefit.item.detail.adjudication", "min": 0, "max": "*", "contentReference": "#ExplanationOfBenefit.item.adjudication" }, { "id": "ExplanationOfBenefit.item.detail.subDetail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SubDetail" } ], "path": "ExplanationOfBenefit.item.detail.subDetail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.id", "path": "ExplanationOfBenefit.item.detail.subDetail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.extension", "path": "ExplanationOfBenefit.item.detail.subDetail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.modifierExtension", "path": "ExplanationOfBenefit.item.detail.subDetail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.item.detail.subDetail.sequence", "path": "ExplanationOfBenefit.item.detail.subDetail.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.type", "path": "ExplanationOfBenefit.item.detail.subDetail.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "Service, Product, Rx Dispense, Rx Compound etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.revenue", "path": "ExplanationOfBenefit.item.detail.subDetail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.category", "path": "ExplanationOfBenefit.item.detail.subDetail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.service", "path": "ExplanationOfBenefit.item.detail.subDetail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.modifier", "path": "ExplanationOfBenefit.item.detail.subDetail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.programCode", "path": "ExplanationOfBenefit.item.detail.subDetail.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.quantity", "path": "ExplanationOfBenefit.item.detail.subDetail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.unitPrice", "path": "ExplanationOfBenefit.item.detail.subDetail.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.factor", "path": "ExplanationOfBenefit.item.detail.subDetail.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.net", "path": "ExplanationOfBenefit.item.detail.subDetail.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.udi", "path": "ExplanationOfBenefit.item.detail.subDetail.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.noteNumber", "path": "ExplanationOfBenefit.item.detail.subDetail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.adjudication", "path": "ExplanationOfBenefit.item.detail.subDetail.adjudication", "min": 0, "max": "*", "contentReference": "#ExplanationOfBenefit.item.adjudication" }, { "id": "ExplanationOfBenefit.item.prosthesis", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Prosthesis" } ], "path": "ExplanationOfBenefit.item.prosthesis", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.item.prosthesis.id", "path": "ExplanationOfBenefit.item.prosthesis.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.item.prosthesis.extension", "path": "ExplanationOfBenefit.item.prosthesis.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.item.prosthesis.modifierExtension", "path": "ExplanationOfBenefit.item.prosthesis.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.item.prosthesis.initial", "path": "ExplanationOfBenefit.item.prosthesis.initial", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ExplanationOfBenefit.item.prosthesis.priorDate", "path": "ExplanationOfBenefit.item.prosthesis.priorDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ExplanationOfBenefit.item.prosthesis.priorMaterial", "path": "ExplanationOfBenefit.item.prosthesis.priorMaterial", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Material of the prior denture or bridge prosthesis. (Oral)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/oral-prosthodontic-material" } } }, { "id": "ExplanationOfBenefit.addItem", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "AddedItem" } ], "path": "ExplanationOfBenefit.addItem", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.addItem.id", "path": "ExplanationOfBenefit.addItem.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.addItem.extension", "path": "ExplanationOfBenefit.addItem.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.addItem.modifierExtension", "path": "ExplanationOfBenefit.addItem.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.addItem.sequenceLinkId", "path": "ExplanationOfBenefit.addItem.sequenceLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.addItem.revenue", "path": "ExplanationOfBenefit.addItem.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.addItem.category", "path": "ExplanationOfBenefit.addItem.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.addItem.service", "path": "ExplanationOfBenefit.addItem.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.addItem.modifier", "path": "ExplanationOfBenefit.addItem.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.addItem.fee", "path": "ExplanationOfBenefit.addItem.fee", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.addItem.noteNumber", "path": "ExplanationOfBenefit.addItem.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.addItem.adjudication", "path": "ExplanationOfBenefit.addItem.adjudication", "min": 0, "max": "*", "contentReference": "#ExplanationOfBenefit.item.adjudication" }, { "id": "ExplanationOfBenefit.addItem.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "AddedItemsDetail" } ], "path": "ExplanationOfBenefit.addItem.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.addItem.detail.id", "path": "ExplanationOfBenefit.addItem.detail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.addItem.detail.extension", "path": "ExplanationOfBenefit.addItem.detail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.addItem.detail.modifierExtension", "path": "ExplanationOfBenefit.addItem.detail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.addItem.detail.revenue", "path": "ExplanationOfBenefit.addItem.detail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.addItem.detail.category", "path": "ExplanationOfBenefit.addItem.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.addItem.detail.service", "path": "ExplanationOfBenefit.addItem.detail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.addItem.detail.modifier", "path": "ExplanationOfBenefit.addItem.detail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.addItem.detail.fee", "path": "ExplanationOfBenefit.addItem.detail.fee", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.addItem.detail.noteNumber", "path": "ExplanationOfBenefit.addItem.detail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.addItem.detail.adjudication", "path": "ExplanationOfBenefit.addItem.detail.adjudication", "min": 0, "max": "*", "contentReference": "#ExplanationOfBenefit.item.adjudication" }, { "id": "ExplanationOfBenefit.totalCost", "path": "ExplanationOfBenefit.totalCost", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.unallocDeductable", "path": "ExplanationOfBenefit.unallocDeductable", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.totalBenefit", "path": "ExplanationOfBenefit.totalBenefit", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.payment", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Payment" } ], "path": "ExplanationOfBenefit.payment", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.payment.id", "path": "ExplanationOfBenefit.payment.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.payment.extension", "path": "ExplanationOfBenefit.payment.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.payment.modifierExtension", "path": "ExplanationOfBenefit.payment.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.payment.type", "path": "ExplanationOfBenefit.payment.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The type (partial, complete) of the payment", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-paymenttype" } } }, { "id": "ExplanationOfBenefit.payment.adjustment", "path": "ExplanationOfBenefit.payment.adjustment", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.payment.adjustmentReason", "path": "ExplanationOfBenefit.payment.adjustmentReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Payment Adjustment reason codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payment-adjustment-reason" } } }, { "id": "ExplanationOfBenefit.payment.date", "path": "ExplanationOfBenefit.payment.date", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ExplanationOfBenefit.payment.amount", "path": "ExplanationOfBenefit.payment.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.payment.identifier", "path": "ExplanationOfBenefit.payment.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "ExplanationOfBenefit.form", "path": "ExplanationOfBenefit.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "ExplanationOfBenefit.note", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Note" } ], "path": "ExplanationOfBenefit.note", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.note.id", "path": "ExplanationOfBenefit.note.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.note.extension", "path": "ExplanationOfBenefit.note.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.note.modifierExtension", "path": "ExplanationOfBenefit.note.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.note.number", "path": "ExplanationOfBenefit.note.number", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.note.type", "path": "ExplanationOfBenefit.note.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The presentation types of notes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/note-type" } } }, { "id": "ExplanationOfBenefit.note.text", "path": "ExplanationOfBenefit.note.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.note.language", "path": "ExplanationOfBenefit.note.language", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExplanationOfBenefit.benefitBalance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "BenefitBalance" } ], "path": "ExplanationOfBenefit.benefitBalance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.id", "path": "ExplanationOfBenefit.benefitBalance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.extension", "path": "ExplanationOfBenefit.benefitBalance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.modifierExtension", "path": "ExplanationOfBenefit.benefitBalance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.benefitBalance.category", "path": "ExplanationOfBenefit.benefitBalance.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit categories such as: oral, medical, vision etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-category" } } }, { "id": "ExplanationOfBenefit.benefitBalance.subCategory", "path": "ExplanationOfBenefit.benefitBalance.subCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.benefitBalance.excluded", "path": "ExplanationOfBenefit.benefitBalance.excluded", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.name", "path": "ExplanationOfBenefit.benefitBalance.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.description", "path": "ExplanationOfBenefit.benefitBalance.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.network", "path": "ExplanationOfBenefit.benefitBalance.network", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Code to classify in or out of network services", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-network" } } }, { "id": "ExplanationOfBenefit.benefitBalance.unit", "path": "ExplanationOfBenefit.benefitBalance.unit", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Unit covered/serviced - individual or family", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-unit" } } }, { "id": "ExplanationOfBenefit.benefitBalance.term", "path": "ExplanationOfBenefit.benefitBalance.term", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Coverage unit - annual, lifetime", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-term" } } }, { "id": "ExplanationOfBenefit.benefitBalance.financial", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Benefit" } ], "path": "ExplanationOfBenefit.benefitBalance.financial", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.financial.id", "path": "ExplanationOfBenefit.benefitBalance.financial.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.financial.extension", "path": "ExplanationOfBenefit.benefitBalance.financial.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.financial.modifierExtension", "path": "ExplanationOfBenefit.benefitBalance.financial.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ExplanationOfBenefit.benefitBalance.financial.type", "path": "ExplanationOfBenefit.benefitBalance.financial.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Deductable, visits, co-pay, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-type" } } }, { "id": "ExplanationOfBenefit.benefitBalance.financial.benefit[x]", "path": "ExplanationOfBenefit.benefitBalance.financial.benefit[x]", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" }, { "code": "string" }, { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.financial.benefitUsed[x]", "path": "ExplanationOfBenefit.benefitBalance.financial.benefitUsed[x]", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" }, { "code": "Money" } ] } ] }, "differential": { "element": [ { "id": "ExplanationOfBenefit", "path": "ExplanationOfBenefit", "min": 0, "max": "*" }, { "id": "ExplanationOfBenefit.identifier", "path": "ExplanationOfBenefit.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "ExplanationOfBenefit.status", "path": "ExplanationOfBenefit.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/explanationofbenefit-status" } } }, { "id": "ExplanationOfBenefit.type", "path": "ExplanationOfBenefit.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The type or discipline-style of the claim", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-type" } } }, { "id": "ExplanationOfBenefit.subType", "path": "ExplanationOfBenefit.subType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A more granulat claim typecode", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-subtype" } } }, { "id": "ExplanationOfBenefit.patient", "path": "ExplanationOfBenefit.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "ExplanationOfBenefit.billablePeriod", "path": "ExplanationOfBenefit.billablePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.created", "path": "ExplanationOfBenefit.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ExplanationOfBenefit.enterer", "path": "ExplanationOfBenefit.enterer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ExplanationOfBenefit.insurer", "path": "ExplanationOfBenefit.insurer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ExplanationOfBenefit.provider", "path": "ExplanationOfBenefit.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ExplanationOfBenefit.organization", "path": "ExplanationOfBenefit.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ExplanationOfBenefit.referral", "path": "ExplanationOfBenefit.referral", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "ExplanationOfBenefit.facility", "path": "ExplanationOfBenefit.facility", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "ExplanationOfBenefit.claim", "path": "ExplanationOfBenefit.claim", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Claim" } ] }, { "id": "ExplanationOfBenefit.claimResponse", "path": "ExplanationOfBenefit.claimResponse", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClaimResponse" } ] }, { "id": "ExplanationOfBenefit.outcome", "path": "ExplanationOfBenefit.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The result of the claim processing", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "ExplanationOfBenefit.disposition", "path": "ExplanationOfBenefit.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.related", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RelatedClaim" } ], "path": "ExplanationOfBenefit.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.related.claim", "path": "ExplanationOfBenefit.related.claim", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Claim" } ] }, { "id": "ExplanationOfBenefit.related.relationship", "path": "ExplanationOfBenefit.related.relationship", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Relationship of this claim to a related Claim", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/related-claim-relationship" } } }, { "id": "ExplanationOfBenefit.related.reference", "path": "ExplanationOfBenefit.related.reference", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "ExplanationOfBenefit.prescription", "path": "ExplanationOfBenefit.prescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/VisionPrescription" } ] }, { "id": "ExplanationOfBenefit.originalPrescription", "path": "ExplanationOfBenefit.originalPrescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "ExplanationOfBenefit.payee", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Payee" } ], "path": "ExplanationOfBenefit.payee", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.payee.type", "path": "ExplanationOfBenefit.payee.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A code for the party to be reimbursed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payeetype" } } }, { "id": "ExplanationOfBenefit.payee.resourceType", "path": "ExplanationOfBenefit.payee.resourceType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The type of payee Resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-type-link" } } }, { "id": "ExplanationOfBenefit.payee.party[x]", "path": "ExplanationOfBenefit.payee.party[x]", "min": 0, "max": "1", "type": [ { "code": "Identifier" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "ExplanationOfBenefit.information", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SupportingInformation" } ], "path": "ExplanationOfBenefit.information", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.information.category", "path": "ExplanationOfBenefit.information.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The valuset used for additional information category codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-informationcategory" } } }, { "id": "ExplanationOfBenefit.information.code", "path": "ExplanationOfBenefit.information.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The valuset used for additional information codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-exception" } } }, { "id": "ExplanationOfBenefit.information.timing[x]", "path": "ExplanationOfBenefit.information.timing[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.information.value[x]", "path": "ExplanationOfBenefit.information.value[x]", "min": 0, "max": "1", "type": [ { "code": "string" }, { "code": "Quantity" }, { "code": "Attachment" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "ExplanationOfBenefit.information.reason", "path": "ExplanationOfBenefit.information.reason", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "example", "description": "Reason codes for the missing teeth", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/missing-tooth-reason" } } }, { "id": "ExplanationOfBenefit.careTeam", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "CareTeam" } ], "path": "ExplanationOfBenefit.careTeam", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.careTeam.sequence", "path": "ExplanationOfBenefit.careTeam.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.careTeam.provider", "path": "ExplanationOfBenefit.careTeam.provider", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ExplanationOfBenefit.careTeam.responsible", "path": "ExplanationOfBenefit.careTeam.responsible", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ExplanationOfBenefit.careTeam.role", "path": "ExplanationOfBenefit.careTeam.role", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The role codes for the care team members.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-careteamrole" } } }, { "id": "ExplanationOfBenefit.careTeam.qualification", "path": "ExplanationOfBenefit.careTeam.qualification", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Provider professional qualifications", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/provider-qualification" } } }, { "id": "ExplanationOfBenefit.diagnosis", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Diagnosis" } ], "path": "ExplanationOfBenefit.diagnosis", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.diagnosis.sequence", "path": "ExplanationOfBenefit.diagnosis.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.diagnosis.diagnosis[x]", "path": "ExplanationOfBenefit.diagnosis.diagnosis[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "binding": { "strength": "example", "description": "ICD10 Diagnostic codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/icd-10" } } }, { "id": "ExplanationOfBenefit.diagnosis.type", "path": "ExplanationOfBenefit.diagnosis.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The type of the diagnosis: admitting, principal, discharge", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-diagnosistype" } } }, { "id": "ExplanationOfBenefit.diagnosis.packageCode", "path": "ExplanationOfBenefit.diagnosis.packageCode", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The DRG codes associated with the diagnosis", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup" } } }, { "id": "ExplanationOfBenefit.procedure", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Procedure" } ], "path": "ExplanationOfBenefit.procedure", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.procedure.sequence", "path": "ExplanationOfBenefit.procedure.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.procedure.date", "path": "ExplanationOfBenefit.procedure.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ExplanationOfBenefit.procedure.procedure[x]", "path": "ExplanationOfBenefit.procedure.procedure[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "binding": { "strength": "example", "description": "ICD10 Procedure codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/icd-10-procedures" } } }, { "id": "ExplanationOfBenefit.precedence", "path": "ExplanationOfBenefit.precedence", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.insurance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Insurance" } ], "path": "ExplanationOfBenefit.insurance", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.insurance.coverage", "path": "ExplanationOfBenefit.insurance.coverage", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Coverage" } ] }, { "id": "ExplanationOfBenefit.insurance.preAuthRef", "path": "ExplanationOfBenefit.insurance.preAuthRef", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.accident", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Accident" } ], "path": "ExplanationOfBenefit.accident", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.accident.date", "path": "ExplanationOfBenefit.accident.date", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ExplanationOfBenefit.accident.type", "path": "ExplanationOfBenefit.accident.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "Type of accident: work place, auto, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActIncidentCode" } } }, { "id": "ExplanationOfBenefit.accident.location[x]", "path": "ExplanationOfBenefit.accident.location[x]", "min": 0, "max": "1", "type": [ { "code": "Address" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "ExplanationOfBenefit.employmentImpacted", "path": "ExplanationOfBenefit.employmentImpacted", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.hospitalization", "path": "ExplanationOfBenefit.hospitalization", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.item", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Item" } ], "path": "ExplanationOfBenefit.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.item.sequence", "path": "ExplanationOfBenefit.item.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.careTeamLinkId", "path": "ExplanationOfBenefit.item.careTeamLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.diagnosisLinkId", "path": "ExplanationOfBenefit.item.diagnosisLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.procedureLinkId", "path": "ExplanationOfBenefit.item.procedureLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.informationLinkId", "path": "ExplanationOfBenefit.item.informationLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.revenue", "path": "ExplanationOfBenefit.item.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.item.category", "path": "ExplanationOfBenefit.item.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.item.service", "path": "ExplanationOfBenefit.item.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.item.modifier", "path": "ExplanationOfBenefit.item.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.item.programCode", "path": "ExplanationOfBenefit.item.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "ExplanationOfBenefit.item.serviced[x]", "path": "ExplanationOfBenefit.item.serviced[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Period" } ] }, { "id": "ExplanationOfBenefit.item.location[x]", "path": "ExplanationOfBenefit.item.location[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Address" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "binding": { "strength": "example", "description": "Place where the service is rendered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-place" } } }, { "id": "ExplanationOfBenefit.item.quantity", "path": "ExplanationOfBenefit.item.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "ExplanationOfBenefit.item.unitPrice", "path": "ExplanationOfBenefit.item.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.factor", "path": "ExplanationOfBenefit.item.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ExplanationOfBenefit.item.net", "path": "ExplanationOfBenefit.item.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.udi", "path": "ExplanationOfBenefit.item.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "ExplanationOfBenefit.item.bodySite", "path": "ExplanationOfBenefit.item.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for the teeth, quadrant, sextant and arch", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/tooth" } } }, { "id": "ExplanationOfBenefit.item.subSite", "path": "ExplanationOfBenefit.item.subSite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for the tooth surface and surface combinations", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/surface" } } }, { "id": "ExplanationOfBenefit.item.noteNumber", "path": "ExplanationOfBenefit.item.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.adjudication", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Adjudication" } ], "path": "ExplanationOfBenefit.item.adjudication", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.item.adjudication.category", "path": "ExplanationOfBenefit.item.adjudication.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The adjudication codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication" } } }, { "id": "ExplanationOfBenefit.item.adjudication.reason", "path": "ExplanationOfBenefit.item.adjudication.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Adjudication reason codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-reason" } } }, { "id": "ExplanationOfBenefit.item.adjudication.amount", "path": "ExplanationOfBenefit.item.adjudication.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.adjudication.value", "path": "ExplanationOfBenefit.item.adjudication.value", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ExplanationOfBenefit.item.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Detail" } ], "path": "ExplanationOfBenefit.item.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.item.detail.sequence", "path": "ExplanationOfBenefit.item.detail.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.detail.type", "path": "ExplanationOfBenefit.item.detail.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "Service, Product, Rx Dispense, Rx Compound etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode" } } }, { "id": "ExplanationOfBenefit.item.detail.revenue", "path": "ExplanationOfBenefit.item.detail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.item.detail.category", "path": "ExplanationOfBenefit.item.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.item.detail.service", "path": "ExplanationOfBenefit.item.detail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.item.detail.modifier", "path": "ExplanationOfBenefit.item.detail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.item.detail.programCode", "path": "ExplanationOfBenefit.item.detail.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "ExplanationOfBenefit.item.detail.quantity", "path": "ExplanationOfBenefit.item.detail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "ExplanationOfBenefit.item.detail.unitPrice", "path": "ExplanationOfBenefit.item.detail.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.detail.factor", "path": "ExplanationOfBenefit.item.detail.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ExplanationOfBenefit.item.detail.net", "path": "ExplanationOfBenefit.item.detail.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.detail.udi", "path": "ExplanationOfBenefit.item.detail.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "ExplanationOfBenefit.item.detail.noteNumber", "path": "ExplanationOfBenefit.item.detail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.detail.adjudication", "path": "ExplanationOfBenefit.item.detail.adjudication", "min": 0, "max": "*", "contentReference": "#ExplanationOfBenefit.item.adjudication" }, { "id": "ExplanationOfBenefit.item.detail.subDetail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SubDetail" } ], "path": "ExplanationOfBenefit.item.detail.subDetail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.sequence", "path": "ExplanationOfBenefit.item.detail.subDetail.sequence", "min": 1, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.type", "path": "ExplanationOfBenefit.item.detail.subDetail.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "Service, Product, Rx Dispense, Rx Compound etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.revenue", "path": "ExplanationOfBenefit.item.detail.subDetail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.category", "path": "ExplanationOfBenefit.item.detail.subDetail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.service", "path": "ExplanationOfBenefit.item.detail.subDetail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.modifier", "path": "ExplanationOfBenefit.item.detail.subDetail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.programCode", "path": "ExplanationOfBenefit.item.detail.subDetail.programCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Program specific reason codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-program-code" } } }, { "id": "ExplanationOfBenefit.item.detail.subDetail.quantity", "path": "ExplanationOfBenefit.item.detail.subDetail.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.unitPrice", "path": "ExplanationOfBenefit.item.detail.subDetail.unitPrice", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.factor", "path": "ExplanationOfBenefit.item.detail.subDetail.factor", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.net", "path": "ExplanationOfBenefit.item.detail.subDetail.net", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.udi", "path": "ExplanationOfBenefit.item.detail.subDetail.udi", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.noteNumber", "path": "ExplanationOfBenefit.item.detail.subDetail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.item.detail.subDetail.adjudication", "path": "ExplanationOfBenefit.item.detail.subDetail.adjudication", "min": 0, "max": "*", "contentReference": "#ExplanationOfBenefit.item.adjudication" }, { "id": "ExplanationOfBenefit.item.prosthesis", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Prosthesis" } ], "path": "ExplanationOfBenefit.item.prosthesis", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.item.prosthesis.initial", "path": "ExplanationOfBenefit.item.prosthesis.initial", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ExplanationOfBenefit.item.prosthesis.priorDate", "path": "ExplanationOfBenefit.item.prosthesis.priorDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ExplanationOfBenefit.item.prosthesis.priorMaterial", "path": "ExplanationOfBenefit.item.prosthesis.priorMaterial", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Material of the prior denture or bridge prosthesis. (Oral)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/oral-prosthodontic-material" } } }, { "id": "ExplanationOfBenefit.addItem", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "AddedItem" } ], "path": "ExplanationOfBenefit.addItem", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.addItem.sequenceLinkId", "path": "ExplanationOfBenefit.addItem.sequenceLinkId", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.addItem.revenue", "path": "ExplanationOfBenefit.addItem.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.addItem.category", "path": "ExplanationOfBenefit.addItem.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.addItem.service", "path": "ExplanationOfBenefit.addItem.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.addItem.modifier", "path": "ExplanationOfBenefit.addItem.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.addItem.fee", "path": "ExplanationOfBenefit.addItem.fee", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.addItem.noteNumber", "path": "ExplanationOfBenefit.addItem.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.addItem.adjudication", "path": "ExplanationOfBenefit.addItem.adjudication", "min": 0, "max": "*", "contentReference": "#ExplanationOfBenefit.item.adjudication" }, { "id": "ExplanationOfBenefit.addItem.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "AddedItemsDetail" } ], "path": "ExplanationOfBenefit.addItem.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.addItem.detail.revenue", "path": "ExplanationOfBenefit.addItem.detail.revenue", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the revenue or cost centers supplying the service and/or products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-revenue-center" } } }, { "id": "ExplanationOfBenefit.addItem.detail.category", "path": "ExplanationOfBenefit.addItem.detail.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.addItem.detail.service", "path": "ExplanationOfBenefit.addItem.detail.service", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Allowable service and product codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-uscls" } } }, { "id": "ExplanationOfBenefit.addItem.detail.modifier", "path": "ExplanationOfBenefit.addItem.detail.modifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/claim-modifiers" } } }, { "id": "ExplanationOfBenefit.addItem.detail.fee", "path": "ExplanationOfBenefit.addItem.detail.fee", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.addItem.detail.noteNumber", "path": "ExplanationOfBenefit.addItem.detail.noteNumber", "min": 0, "max": "*", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.addItem.detail.adjudication", "path": "ExplanationOfBenefit.addItem.detail.adjudication", "min": 0, "max": "*", "contentReference": "#ExplanationOfBenefit.item.adjudication" }, { "id": "ExplanationOfBenefit.totalCost", "path": "ExplanationOfBenefit.totalCost", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.unallocDeductable", "path": "ExplanationOfBenefit.unallocDeductable", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.totalBenefit", "path": "ExplanationOfBenefit.totalBenefit", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.payment", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Payment" } ], "path": "ExplanationOfBenefit.payment", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.payment.type", "path": "ExplanationOfBenefit.payment.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The type (partial, complete) of the payment", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/ex-paymenttype" } } }, { "id": "ExplanationOfBenefit.payment.adjustment", "path": "ExplanationOfBenefit.payment.adjustment", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.payment.adjustmentReason", "path": "ExplanationOfBenefit.payment.adjustmentReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Payment Adjustment reason codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payment-adjustment-reason" } } }, { "id": "ExplanationOfBenefit.payment.date", "path": "ExplanationOfBenefit.payment.date", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ExplanationOfBenefit.payment.amount", "path": "ExplanationOfBenefit.payment.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.payment.identifier", "path": "ExplanationOfBenefit.payment.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "ExplanationOfBenefit.form", "path": "ExplanationOfBenefit.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "ExplanationOfBenefit.note", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Note" } ], "path": "ExplanationOfBenefit.note", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.note.number", "path": "ExplanationOfBenefit.note.number", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ExplanationOfBenefit.note.type", "path": "ExplanationOfBenefit.note.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The presentation types of notes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/note-type" } } }, { "id": "ExplanationOfBenefit.note.text", "path": "ExplanationOfBenefit.note.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.note.language", "path": "ExplanationOfBenefit.note.language", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ExplanationOfBenefit.benefitBalance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "BenefitBalance" } ], "path": "ExplanationOfBenefit.benefitBalance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.category", "path": "ExplanationOfBenefit.benefitBalance.category", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit categories such as: oral, medical, vision etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-category" } } }, { "id": "ExplanationOfBenefit.benefitBalance.subCategory", "path": "ExplanationOfBenefit.benefitBalance.subCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Benefit subcategories such as: oral-basic, major, glasses", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-subcategory" } } }, { "id": "ExplanationOfBenefit.benefitBalance.excluded", "path": "ExplanationOfBenefit.benefitBalance.excluded", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.name", "path": "ExplanationOfBenefit.benefitBalance.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.description", "path": "ExplanationOfBenefit.benefitBalance.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.network", "path": "ExplanationOfBenefit.benefitBalance.network", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Code to classify in or out of network services", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-network" } } }, { "id": "ExplanationOfBenefit.benefitBalance.unit", "path": "ExplanationOfBenefit.benefitBalance.unit", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Unit covered/serviced - individual or family", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-unit" } } }, { "id": "ExplanationOfBenefit.benefitBalance.term", "path": "ExplanationOfBenefit.benefitBalance.term", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Coverage unit - annual, lifetime", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-term" } } }, { "id": "ExplanationOfBenefit.benefitBalance.financial", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Benefit" } ], "path": "ExplanationOfBenefit.benefitBalance.financial", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.financial.type", "path": "ExplanationOfBenefit.benefitBalance.financial.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Deductable, visits, co-pay, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/benefit-type" } } }, { "id": "ExplanationOfBenefit.benefitBalance.financial.benefit[x]", "path": "ExplanationOfBenefit.benefitBalance.financial.benefit[x]", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" }, { "code": "string" }, { "code": "Money" } ] }, { "id": "ExplanationOfBenefit.benefitBalance.financial.benefitUsed[x]", "path": "ExplanationOfBenefit.benefitBalance.financial.benefitUsed[x]", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" }, { "code": "Money" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory", "resource": { "resourceType": "StructureDefinition", "id": "FamilyMemberHistory", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/General" } ], "url": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory", "name": "FamilyMemberHistory", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "FamilyMemberHistory", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "FamilyMemberHistory", "path": "FamilyMemberHistory", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "fhs-2", "severity": "error", "human": "Can only have estimatedAge if age[x] is present", "expression": "age.exists() or estimatedAge.empty()", "xpath": "exists(*[starts-with(local-name(.), 'age')]) or not(exists(f:estimatedAge))" }, { "key": "fhs-1", "severity": "error", "human": "Can have age[x] or born[x], but not both", "expression": "age.empty() or born.empty()", "xpath": "not (*[starts-with(local-name(.), 'age')] and *[starts-with(local-name(.), 'birth')])" } ] }, { "id": "FamilyMemberHistory.id", "path": "FamilyMemberHistory.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "FamilyMemberHistory.meta", "path": "FamilyMemberHistory.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "FamilyMemberHistory.implicitRules", "path": "FamilyMemberHistory.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "FamilyMemberHistory.language", "path": "FamilyMemberHistory.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "FamilyMemberHistory.text", "path": "FamilyMemberHistory.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "FamilyMemberHistory.contained", "path": "FamilyMemberHistory.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "FamilyMemberHistory.extension", "path": "FamilyMemberHistory.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "FamilyMemberHistory.modifierExtension", "path": "FamilyMemberHistory.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "FamilyMemberHistory.identifier", "path": "FamilyMemberHistory.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "FamilyMemberHistory.patient", "path": "FamilyMemberHistory.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "FamilyMemberHistory.date", "path": "FamilyMemberHistory.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "FamilyMemberHistory.status", "path": "FamilyMemberHistory.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code that identifies the status of the family history record.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/history-status" } } }, { "id": "FamilyMemberHistory.name", "path": "FamilyMemberHistory.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "FamilyMemberHistory.relationship", "path": "FamilyMemberHistory.relationship", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The nature of the relationship between the patient and the related person being described in the family member history.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-FamilyMember" } } }, { "id": "FamilyMemberHistory.gender", "path": "FamilyMemberHistory.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "FamilyMemberHistory.born[x]", "path": "FamilyMemberHistory.born[x]", "min": 0, "max": "1", "type": [ { "code": "Period" }, { "code": "date" }, { "code": "string" } ], "condition": [ "fhs-1" ] }, { "id": "FamilyMemberHistory.age[x]", "path": "FamilyMemberHistory.age[x]", "min": 0, "max": "1", "type": [ { "code": "Age" }, { "code": "Range" }, { "code": "string" } ], "condition": [ "fhs-1" ], "isSummary": true }, { "id": "FamilyMemberHistory.estimatedAge", "path": "FamilyMemberHistory.estimatedAge", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "meaningWhenMissing": "It is unknown whether the age is an estimate or not", "condition": [ "fhs-2" ], "isModifier": true, "isSummary": true }, { "id": "FamilyMemberHistory.deceased[x]", "path": "FamilyMemberHistory.deceased[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "Age" }, { "code": "Range" }, { "code": "date" }, { "code": "string" } ], "isSummary": true }, { "id": "FamilyMemberHistory.note", "path": "FamilyMemberHistory.note", "min": 0, "max": "1", "type": [ { "code": "Annotation" } ] }, { "id": "FamilyMemberHistory.condition", "path": "FamilyMemberHistory.condition", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "FamilyMemberHistory.condition.id", "path": "FamilyMemberHistory.condition.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "FamilyMemberHistory.condition.extension", "path": "FamilyMemberHistory.condition.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "FamilyMemberHistory.condition.modifierExtension", "path": "FamilyMemberHistory.condition.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "FamilyMemberHistory.condition.code", "path": "FamilyMemberHistory.condition.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Identification of the Condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "FamilyMemberHistory.condition.outcome", "path": "FamilyMemberHistory.condition.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-outcome" } } }, { "id": "FamilyMemberHistory.condition.onset[x]", "path": "FamilyMemberHistory.condition.onset[x]", "min": 0, "max": "1", "type": [ { "code": "Age" }, { "code": "Range" }, { "code": "Period" }, { "code": "string" } ] }, { "id": "FamilyMemberHistory.condition.note", "path": "FamilyMemberHistory.condition.note", "min": 0, "max": "1", "type": [ { "code": "Annotation" } ] } ] }, "differential": { "element": [ { "id": "FamilyMemberHistory", "path": "FamilyMemberHistory", "min": 0, "max": "*", "constraint": [ { "key": "fhs-2", "severity": "error", "human": "Can only have estimatedAge if age[x] is present", "expression": "age.exists() or estimatedAge.empty()", "xpath": "exists(*[starts-with(local-name(.), 'age')]) or not(exists(f:estimatedAge))" }, { "key": "fhs-1", "severity": "error", "human": "Can have age[x] or born[x], but not both", "expression": "age.empty() or born.empty()", "xpath": "not (*[starts-with(local-name(.), 'age')] and *[starts-with(local-name(.), 'birth')])" } ] }, { "id": "FamilyMemberHistory.identifier", "path": "FamilyMemberHistory.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "FamilyMemberHistory.patient", "path": "FamilyMemberHistory.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "FamilyMemberHistory.date", "path": "FamilyMemberHistory.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "FamilyMemberHistory.status", "path": "FamilyMemberHistory.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code that identifies the status of the family history record.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/history-status" } } }, { "id": "FamilyMemberHistory.name", "path": "FamilyMemberHistory.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "FamilyMemberHistory.relationship", "path": "FamilyMemberHistory.relationship", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The nature of the relationship between the patient and the related person being described in the family member history.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-FamilyMember" } } }, { "id": "FamilyMemberHistory.gender", "path": "FamilyMemberHistory.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "FamilyMemberHistory.born[x]", "path": "FamilyMemberHistory.born[x]", "min": 0, "max": "1", "type": [ { "code": "Period" }, { "code": "date" }, { "code": "string" } ], "condition": [ "fhs-1" ] }, { "id": "FamilyMemberHistory.age[x]", "path": "FamilyMemberHistory.age[x]", "min": 0, "max": "1", "type": [ { "code": "Age" }, { "code": "Range" }, { "code": "string" } ], "condition": [ "fhs-1" ], "isSummary": true }, { "id": "FamilyMemberHistory.estimatedAge", "path": "FamilyMemberHistory.estimatedAge", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "meaningWhenMissing": "It is unknown whether the age is an estimate or not", "condition": [ "fhs-2" ], "isModifier": true, "isSummary": true }, { "id": "FamilyMemberHistory.deceased[x]", "path": "FamilyMemberHistory.deceased[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "Age" }, { "code": "Range" }, { "code": "date" }, { "code": "string" } ], "isSummary": true }, { "id": "FamilyMemberHistory.note", "path": "FamilyMemberHistory.note", "min": 0, "max": "1", "type": [ { "code": "Annotation" } ] }, { "id": "FamilyMemberHistory.condition", "path": "FamilyMemberHistory.condition", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "FamilyMemberHistory.condition.code", "path": "FamilyMemberHistory.condition.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Identification of the Condition or diagnosis.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "FamilyMemberHistory.condition.outcome", "path": "FamilyMemberHistory.condition.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-outcome" } } }, { "id": "FamilyMemberHistory.condition.onset[x]", "path": "FamilyMemberHistory.condition.onset[x]", "min": 0, "max": "1", "type": [ { "code": "Age" }, { "code": "Range" }, { "code": "Period" }, { "code": "string" } ] }, { "id": "FamilyMemberHistory.condition.note", "path": "FamilyMemberHistory.condition.note", "min": 0, "max": "1", "type": [ { "code": "Annotation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Flag", "resource": { "resourceType": "StructureDefinition", "id": "Flag", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Patient Management" } ], "url": "http://hl7.org/fhir/StructureDefinition/Flag", "name": "Flag", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Flag", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Flag", "path": "Flag", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Flag.id", "path": "Flag.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Flag.meta", "path": "Flag.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Flag.implicitRules", "path": "Flag.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Flag.language", "path": "Flag.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Flag.text", "path": "Flag.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Flag.contained", "path": "Flag.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Flag.extension", "path": "Flag.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Flag.modifierExtension", "path": "Flag.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Flag.identifier", "path": "Flag.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Flag.category", "path": "Flag.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A general category for flags for filtering/display purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/flag-category" } } }, { "id": "Flag.status", "path": "Flag.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or entered in error.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/flag-status" } } }, { "id": "Flag.period", "path": "Flag.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Flag.subject", "path": "Flag.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "isSummary": true }, { "id": "Flag.encounter", "path": "Flag.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "Flag.author", "path": "Flag.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "Flag.code", "path": "Flag.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Detail codes identifying specific flagged issues.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/flag-code" } } } ] }, "differential": { "element": [ { "id": "Flag", "path": "Flag", "min": 0, "max": "*" }, { "id": "Flag.identifier", "path": "Flag.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Flag.category", "path": "Flag.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A general category for flags for filtering/display purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/flag-category" } } }, { "id": "Flag.status", "path": "Flag.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or entered in error.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/flag-status" } } }, { "id": "Flag.period", "path": "Flag.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Flag.subject", "path": "Flag.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "isSummary": true }, { "id": "Flag.encounter", "path": "Flag.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "Flag.author", "path": "Flag.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "Flag.code", "path": "Flag.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Detail codes identifying specific flagged issues.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/flag-code" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Goal", "resource": { "resourceType": "StructureDefinition", "id": "Goal", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Care Provision" } ], "url": "http://hl7.org/fhir/StructureDefinition/Goal", "name": "Goal", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Goal", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Goal", "path": "Goal", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Goal.id", "path": "Goal.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Goal.meta", "path": "Goal.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Goal.implicitRules", "path": "Goal.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Goal.language", "path": "Goal.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Goal.text", "path": "Goal.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Goal.contained", "path": "Goal.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Goal.extension", "path": "Goal.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Goal.modifierExtension", "path": "Goal.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Goal.identifier", "path": "Goal.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Goal.status", "path": "Goal.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the goal has been met and is still being targeted", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-status" } } }, { "id": "Goal.category", "path": "Goal.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for grouping and sorting goals", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-category" } } }, { "id": "Goal.priority", "path": "Goal.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "The level of importance associated with a goal", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-priority" } } }, { "id": "Goal.description", "path": "Goal.description", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used." } }, { "id": "Goal.subject", "path": "Goal.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Goal.start[x]", "path": "Goal.start[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing events that can trigger the initiation of a goal", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-start-event" } } }, { "id": "Goal.target[x]", "path": "Goal.target[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Duration" } ], "isSummary": true }, { "id": "Goal.statusDate", "path": "Goal.statusDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Goal.statusReason", "path": "Goal.statusReason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes to identify the reason for a goal's current status", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-status-reason" } } }, { "id": "Goal.expressedBy", "path": "Goal.expressedBy", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Goal.addresses", "path": "Goal.addresses", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationStatement" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RiskAssessment" } ] }, { "id": "Goal.note", "path": "Goal.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "Goal.outcome", "path": "Goal.outcome", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Goal.outcome.id", "path": "Goal.outcome.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Goal.outcome.extension", "path": "Goal.outcome.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Goal.outcome.modifierExtension", "path": "Goal.outcome.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Goal.outcome.result[x]", "path": "Goal.outcome.result[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "binding": { "strength": "example", "description": "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\". \"15 kg weight loss sustained over 6 months\"" } } ] }, "differential": { "element": [ { "id": "Goal", "path": "Goal", "min": 0, "max": "*" }, { "id": "Goal.identifier", "path": "Goal.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Goal.status", "path": "Goal.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the goal has been met and is still being targeted", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-status" } } }, { "id": "Goal.category", "path": "Goal.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for grouping and sorting goals", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-category" } } }, { "id": "Goal.priority", "path": "Goal.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "The level of importance associated with a goal", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-priority" } } }, { "id": "Goal.description", "path": "Goal.description", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used." } }, { "id": "Goal.subject", "path": "Goal.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Goal.start[x]", "path": "Goal.start[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing events that can trigger the initiation of a goal", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-start-event" } } }, { "id": "Goal.target[x]", "path": "Goal.target[x]", "min": 0, "max": "1", "type": [ { "code": "date" }, { "code": "Duration" } ], "isSummary": true }, { "id": "Goal.statusDate", "path": "Goal.statusDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Goal.statusReason", "path": "Goal.statusReason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes to identify the reason for a goal's current status", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-status-reason" } } }, { "id": "Goal.expressedBy", "path": "Goal.expressedBy", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Goal.addresses", "path": "Goal.addresses", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationStatement" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RiskAssessment" } ] }, { "id": "Goal.note", "path": "Goal.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "Goal.outcome", "path": "Goal.outcome", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Goal.outcome.result[x]", "path": "Goal.outcome.result[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "binding": { "strength": "example", "description": "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\". \"15 kg weight loss sustained over 6 months\"" } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Group", "resource": { "resourceType": "StructureDefinition", "id": "Group", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Individuals" } ], "url": "http://hl7.org/fhir/StructureDefinition/Group", "name": "Group", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Group", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Group", "path": "Group", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "grp-1", "severity": "error", "human": "Can only have members if group is \"actual\"", "expression": "member.empty() or (actual = true)", "xpath": "f:actual/@value=true() or not(exists(f:member))" } ] }, { "id": "Group.id", "path": "Group.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Group.meta", "path": "Group.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Group.implicitRules", "path": "Group.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Group.language", "path": "Group.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Group.text", "path": "Group.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Group.contained", "path": "Group.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Group.extension", "path": "Group.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Group.modifierExtension", "path": "Group.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Group.identifier", "path": "Group.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Group.type", "path": "Group.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Types of resources that are part of group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/group-type" } } }, { "id": "Group.actual", "path": "Group.actual", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "condition": [ "grp-1" ], "isSummary": true }, { "id": "Group.active", "path": "Group.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isSummary": true }, { "id": "Group.code", "path": "Group.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Kind of particular resource; e.g. cow, syringe, lake, etc." } }, { "id": "Group.name", "path": "Group.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Group.quantity", "path": "Group.quantity", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "Group.characteristic", "path": "Group.characteristic", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Group.characteristic.id", "path": "Group.characteristic.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Group.characteristic.extension", "path": "Group.characteristic.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Group.characteristic.modifierExtension", "path": "Group.characteristic.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Group.characteristic.code", "path": "Group.characteristic.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "List of characteristics used to describe group members; e.g. gender, age, owner, location, etc." } }, { "id": "Group.characteristic.value[x]", "path": "Group.characteristic.value[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "boolean" }, { "code": "Quantity" }, { "code": "Range" } ], "binding": { "strength": "example", "description": "Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc." } }, { "id": "Group.characteristic.exclude", "path": "Group.characteristic.exclude", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true }, { "id": "Group.characteristic.period", "path": "Group.characteristic.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Group.member", "path": "Group.member", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "grp-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Group.member.id", "path": "Group.member.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Group.member.extension", "path": "Group.member.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Group.member.modifierExtension", "path": "Group.member.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Group.member.entity", "path": "Group.member.entity", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Group.member.period", "path": "Group.member.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "meaningWhenMissing": "The member is in the group at this time" }, { "id": "Group.member.inactive", "path": "Group.member.inactive", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false } ] }, "differential": { "element": [ { "id": "Group", "path": "Group", "min": 0, "max": "*", "constraint": [ { "key": "grp-1", "severity": "error", "human": "Can only have members if group is \"actual\"", "expression": "member.empty() or (actual = true)", "xpath": "f:actual/@value=true() or not(exists(f:member))" } ] }, { "id": "Group.identifier", "path": "Group.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Group.type", "path": "Group.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Types of resources that are part of group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/group-type" } } }, { "id": "Group.actual", "path": "Group.actual", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "condition": [ "grp-1" ], "isSummary": true }, { "id": "Group.active", "path": "Group.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isSummary": true }, { "id": "Group.code", "path": "Group.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Kind of particular resource; e.g. cow, syringe, lake, etc." } }, { "id": "Group.name", "path": "Group.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Group.quantity", "path": "Group.quantity", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "Group.characteristic", "path": "Group.characteristic", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Group.characteristic.code", "path": "Group.characteristic.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "List of characteristics used to describe group members; e.g. gender, age, owner, location, etc." } }, { "id": "Group.characteristic.value[x]", "path": "Group.characteristic.value[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "boolean" }, { "code": "Quantity" }, { "code": "Range" } ], "binding": { "strength": "example", "description": "Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc." } }, { "id": "Group.characteristic.exclude", "path": "Group.characteristic.exclude", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true }, { "id": "Group.characteristic.period", "path": "Group.characteristic.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Group.member", "path": "Group.member", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "grp-1" ] }, { "id": "Group.member.entity", "path": "Group.member.entity", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Group.member.period", "path": "Group.member.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "meaningWhenMissing": "The member is in the group at this time" }, { "id": "Group.member.inactive", "path": "Group.member.inactive", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/GuidanceResponse", "resource": { "resourceType": "StructureDefinition", "id": "GuidanceResponse", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical Reasoning" } ], "url": "http://hl7.org/fhir/StructureDefinition/GuidanceResponse", "name": "GuidanceResponse", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "GuidanceResponse", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "GuidanceResponse", "path": "GuidanceResponse", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "GuidanceResponse.id", "path": "GuidanceResponse.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "GuidanceResponse.meta", "path": "GuidanceResponse.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "GuidanceResponse.implicitRules", "path": "GuidanceResponse.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "GuidanceResponse.language", "path": "GuidanceResponse.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "GuidanceResponse.text", "path": "GuidanceResponse.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "GuidanceResponse.contained", "path": "GuidanceResponse.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "GuidanceResponse.extension", "path": "GuidanceResponse.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "GuidanceResponse.modifierExtension", "path": "GuidanceResponse.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "GuidanceResponse.requestId", "path": "GuidanceResponse.requestId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "GuidanceResponse.identifier", "path": "GuidanceResponse.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "GuidanceResponse.module", "path": "GuidanceResponse.module", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ServiceDefinition" } ], "isModifier": true, "isSummary": true }, { "id": "GuidanceResponse.status", "path": "GuidanceResponse.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of a guidance response", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/guidance-response-status" } } }, { "id": "GuidanceResponse.subject", "path": "GuidanceResponse.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ] }, { "id": "GuidanceResponse.context", "path": "GuidanceResponse.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ] }, { "id": "GuidanceResponse.occurrenceDateTime", "path": "GuidanceResponse.occurrenceDateTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "GuidanceResponse.performer", "path": "GuidanceResponse.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "GuidanceResponse.reason[x]", "path": "GuidanceResponse.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "GuidanceResponse.note", "path": "GuidanceResponse.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "GuidanceResponse.evaluationMessage", "path": "GuidanceResponse.evaluationMessage", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationOutcome" } ] }, { "id": "GuidanceResponse.outputParameters", "path": "GuidanceResponse.outputParameters", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Parameters" } ] }, { "id": "GuidanceResponse.result", "path": "GuidanceResponse.result", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RequestGroup" } ] }, { "id": "GuidanceResponse.dataRequirement", "path": "GuidanceResponse.dataRequirement", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] } ] }, "differential": { "element": [ { "id": "GuidanceResponse", "path": "GuidanceResponse", "min": 0, "max": "*" }, { "id": "GuidanceResponse.requestId", "path": "GuidanceResponse.requestId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "GuidanceResponse.identifier", "path": "GuidanceResponse.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "GuidanceResponse.module", "path": "GuidanceResponse.module", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ServiceDefinition" } ], "isModifier": true, "isSummary": true }, { "id": "GuidanceResponse.status", "path": "GuidanceResponse.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of a guidance response", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/guidance-response-status" } } }, { "id": "GuidanceResponse.subject", "path": "GuidanceResponse.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ] }, { "id": "GuidanceResponse.context", "path": "GuidanceResponse.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ] }, { "id": "GuidanceResponse.occurrenceDateTime", "path": "GuidanceResponse.occurrenceDateTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "GuidanceResponse.performer", "path": "GuidanceResponse.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "GuidanceResponse.reason[x]", "path": "GuidanceResponse.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "GuidanceResponse.note", "path": "GuidanceResponse.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "GuidanceResponse.evaluationMessage", "path": "GuidanceResponse.evaluationMessage", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationOutcome" } ] }, { "id": "GuidanceResponse.outputParameters", "path": "GuidanceResponse.outputParameters", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Parameters" } ] }, { "id": "GuidanceResponse.result", "path": "GuidanceResponse.result", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RequestGroup" } ] }, { "id": "GuidanceResponse.dataRequirement", "path": "GuidanceResponse.dataRequirement", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/HealthcareService", "resource": { "resourceType": "StructureDefinition", "id": "HealthcareService", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Entities" } ], "url": "http://hl7.org/fhir/StructureDefinition/HealthcareService", "name": "HealthcareService", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "HealthcareService", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "HealthcareService", "path": "HealthcareService", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "HealthcareService.id", "path": "HealthcareService.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "HealthcareService.meta", "path": "HealthcareService.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "HealthcareService.implicitRules", "path": "HealthcareService.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "HealthcareService.language", "path": "HealthcareService.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "HealthcareService.text", "path": "HealthcareService.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "HealthcareService.contained", "path": "HealthcareService.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "HealthcareService.extension", "path": "HealthcareService.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "HealthcareService.modifierExtension", "path": "HealthcareService.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "HealthcareService.identifier", "path": "HealthcareService.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "HealthcareService.active", "path": "HealthcareService.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "HealthcareService.providedBy", "path": "HealthcareService.providedBy", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "HealthcareService.serviceCategory", "path": "HealthcareService.serviceCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A category of the service(s) that could be provided.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-category" } } }, { "id": "HealthcareService.serviceType", "path": "HealthcareService.serviceType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Additional details about where the content was created (e.g. clinical specialty).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-type" } } }, { "id": "HealthcareService.specialty", "path": "HealthcareService.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "A specialty that a healthcare service may provide.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "HealthcareService.location", "path": "HealthcareService.location", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "HealthcareService.serviceName", "path": "HealthcareService.serviceName", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "HealthcareService.comment", "path": "HealthcareService.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "HealthcareService.extraDetails", "path": "HealthcareService.extraDetails", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.photo", "path": "HealthcareService.photo", "min": 0, "max": "1", "type": [ { "code": "Attachment" } ], "isSummary": true }, { "id": "HealthcareService.telecom", "path": "HealthcareService.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "HealthcareService.coverageArea", "path": "HealthcareService.coverageArea", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "HealthcareService.serviceProvisionCode", "path": "HealthcareService.serviceProvisionCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code(s) that detail the conditions under which the healthcare service is available/offered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-provision-conditions" } } }, { "id": "HealthcareService.eligibility", "path": "HealthcareService.eligibility", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Coded values underwhich a specific service is made available." } }, { "id": "HealthcareService.eligibilityNote", "path": "HealthcareService.eligibilityNote", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.programName", "path": "HealthcareService.programName", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.characteristic", "path": "HealthcareService.characteristic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy)." } }, { "id": "HealthcareService.referralMethod", "path": "HealthcareService.referralMethod", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The methods of referral can be used when referring to a specific HealthCareService resource.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-referral-method" } } }, { "id": "HealthcareService.publicKey", "path": "HealthcareService.publicKey", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.appointmentRequired", "path": "HealthcareService.appointmentRequired", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "HealthcareService.availableTime", "path": "HealthcareService.availableTime", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "HealthcareService.availableTime.id", "path": "HealthcareService.availableTime.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "HealthcareService.availableTime.extension", "path": "HealthcareService.availableTime.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "HealthcareService.availableTime.modifierExtension", "path": "HealthcareService.availableTime.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "HealthcareService.availableTime.daysOfWeek", "path": "HealthcareService.availableTime.daysOfWeek", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The days of the week.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/days-of-week" } } }, { "id": "HealthcareService.availableTime.allDay", "path": "HealthcareService.availableTime.allDay", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "HealthcareService.availableTime.availableStartTime", "path": "HealthcareService.availableTime.availableStartTime", "min": 0, "max": "1", "type": [ { "code": "time" } ] }, { "id": "HealthcareService.availableTime.availableEndTime", "path": "HealthcareService.availableTime.availableEndTime", "min": 0, "max": "1", "type": [ { "code": "time" } ] }, { "id": "HealthcareService.notAvailable", "path": "HealthcareService.notAvailable", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "HealthcareService.notAvailable.id", "path": "HealthcareService.notAvailable.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "HealthcareService.notAvailable.extension", "path": "HealthcareService.notAvailable.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "HealthcareService.notAvailable.modifierExtension", "path": "HealthcareService.notAvailable.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "HealthcareService.notAvailable.description", "path": "HealthcareService.notAvailable.description", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.notAvailable.during", "path": "HealthcareService.notAvailable.during", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "HealthcareService.availabilityExceptions", "path": "HealthcareService.availabilityExceptions", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.endpoint", "path": "HealthcareService.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] } ] }, "differential": { "element": [ { "id": "HealthcareService", "path": "HealthcareService", "min": 0, "max": "*" }, { "id": "HealthcareService.identifier", "path": "HealthcareService.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "HealthcareService.active", "path": "HealthcareService.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "HealthcareService.providedBy", "path": "HealthcareService.providedBy", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "HealthcareService.serviceCategory", "path": "HealthcareService.serviceCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A category of the service(s) that could be provided.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-category" } } }, { "id": "HealthcareService.serviceType", "path": "HealthcareService.serviceType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Additional details about where the content was created (e.g. clinical specialty).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-type" } } }, { "id": "HealthcareService.specialty", "path": "HealthcareService.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "A specialty that a healthcare service may provide.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "HealthcareService.location", "path": "HealthcareService.location", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "HealthcareService.serviceName", "path": "HealthcareService.serviceName", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "HealthcareService.comment", "path": "HealthcareService.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "HealthcareService.extraDetails", "path": "HealthcareService.extraDetails", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.photo", "path": "HealthcareService.photo", "min": 0, "max": "1", "type": [ { "code": "Attachment" } ], "isSummary": true }, { "id": "HealthcareService.telecom", "path": "HealthcareService.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "HealthcareService.coverageArea", "path": "HealthcareService.coverageArea", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "HealthcareService.serviceProvisionCode", "path": "HealthcareService.serviceProvisionCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code(s) that detail the conditions under which the healthcare service is available/offered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-provision-conditions" } } }, { "id": "HealthcareService.eligibility", "path": "HealthcareService.eligibility", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Coded values underwhich a specific service is made available." } }, { "id": "HealthcareService.eligibilityNote", "path": "HealthcareService.eligibilityNote", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.programName", "path": "HealthcareService.programName", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.characteristic", "path": "HealthcareService.characteristic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy)." } }, { "id": "HealthcareService.referralMethod", "path": "HealthcareService.referralMethod", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The methods of referral can be used when referring to a specific HealthCareService resource.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-referral-method" } } }, { "id": "HealthcareService.publicKey", "path": "HealthcareService.publicKey", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.appointmentRequired", "path": "HealthcareService.appointmentRequired", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "HealthcareService.availableTime", "path": "HealthcareService.availableTime", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "HealthcareService.availableTime.daysOfWeek", "path": "HealthcareService.availableTime.daysOfWeek", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The days of the week.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/days-of-week" } } }, { "id": "HealthcareService.availableTime.allDay", "path": "HealthcareService.availableTime.allDay", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "HealthcareService.availableTime.availableStartTime", "path": "HealthcareService.availableTime.availableStartTime", "min": 0, "max": "1", "type": [ { "code": "time" } ] }, { "id": "HealthcareService.availableTime.availableEndTime", "path": "HealthcareService.availableTime.availableEndTime", "min": 0, "max": "1", "type": [ { "code": "time" } ] }, { "id": "HealthcareService.notAvailable", "path": "HealthcareService.notAvailable", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "HealthcareService.notAvailable.description", "path": "HealthcareService.notAvailable.description", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.notAvailable.during", "path": "HealthcareService.notAvailable.during", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "HealthcareService.availabilityExceptions", "path": "HealthcareService.availabilityExceptions", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "HealthcareService.endpoint", "path": "HealthcareService.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ImagingManifest", "resource": { "resourceType": "StructureDefinition", "id": "ImagingManifest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "ii" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Diagnostics" } ], "url": "http://hl7.org/fhir/StructureDefinition/ImagingManifest", "name": "ImagingManifest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "A FHIR representation of DICOM Key Object Selection (KOS) SOP Instances enables access to a set of selected DICOM SOP Instances.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ImagingManifest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ImagingManifest", "path": "ImagingManifest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ImagingManifest.id", "path": "ImagingManifest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ImagingManifest.meta", "path": "ImagingManifest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ImagingManifest.implicitRules", "path": "ImagingManifest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingManifest.language", "path": "ImagingManifest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ImagingManifest.text", "path": "ImagingManifest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ImagingManifest.contained", "path": "ImagingManifest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ImagingManifest.extension", "path": "ImagingManifest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingManifest.modifierExtension", "path": "ImagingManifest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ImagingManifest.uid", "path": "ImagingManifest.uid", "min": 0, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true }, { "id": "ImagingManifest.patient", "path": "ImagingManifest.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "ImagingManifest.authoringTime", "path": "ImagingManifest.authoringTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ImagingManifest.author", "path": "ImagingManifest.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "ImagingManifest.title", "path": "ImagingManifest.title", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "The document title code of key object selection", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/kos-title" } } }, { "id": "ImagingManifest.description", "path": "ImagingManifest.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImagingManifest.study", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Study" } ], "path": "ImagingManifest.study", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImagingManifest.study.id", "path": "ImagingManifest.study.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingManifest.study.extension", "path": "ImagingManifest.study.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingManifest.study.modifierExtension", "path": "ImagingManifest.study.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingManifest.study.uid", "path": "ImagingManifest.study.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true }, { "id": "ImagingManifest.study.imagingStudy", "path": "ImagingManifest.study.imagingStudy", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" } ], "isSummary": true }, { "id": "ImagingManifest.study.baseLocation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "StudyBaseLocation" } ], "path": "ImagingManifest.study.baseLocation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ImagingManifest.study.baseLocation.id", "path": "ImagingManifest.study.baseLocation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingManifest.study.baseLocation.extension", "path": "ImagingManifest.study.baseLocation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingManifest.study.baseLocation.modifierExtension", "path": "ImagingManifest.study.baseLocation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingManifest.study.baseLocation.type", "path": "ImagingManifest.study.baseLocation.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The type of the service endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dWebType" } } }, { "id": "ImagingManifest.study.baseLocation.url", "path": "ImagingManifest.study.baseLocation.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ImagingManifest.study.series", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Series" } ], "path": "ImagingManifest.study.series", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImagingManifest.study.series.id", "path": "ImagingManifest.study.series.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingManifest.study.series.extension", "path": "ImagingManifest.study.series.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingManifest.study.series.modifierExtension", "path": "ImagingManifest.study.series.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingManifest.study.series.uid", "path": "ImagingManifest.study.series.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true }, { "id": "ImagingManifest.study.series.baseLocation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SeriesBaseLocation" } ], "path": "ImagingManifest.study.series.baseLocation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ImagingManifest.study.series.baseLocation.id", "path": "ImagingManifest.study.series.baseLocation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingManifest.study.series.baseLocation.extension", "path": "ImagingManifest.study.series.baseLocation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingManifest.study.series.baseLocation.modifierExtension", "path": "ImagingManifest.study.series.baseLocation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingManifest.study.series.baseLocation.type", "path": "ImagingManifest.study.series.baseLocation.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The type of the service endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dWebType" } } }, { "id": "ImagingManifest.study.series.baseLocation.url", "path": "ImagingManifest.study.series.baseLocation.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ImagingManifest.study.series.instance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Instance" } ], "path": "ImagingManifest.study.series.instance", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImagingManifest.study.series.instance.id", "path": "ImagingManifest.study.series.instance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingManifest.study.series.instance.extension", "path": "ImagingManifest.study.series.instance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingManifest.study.series.instance.modifierExtension", "path": "ImagingManifest.study.series.instance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingManifest.study.series.instance.sopClass", "path": "ImagingManifest.study.series.instance.sopClass", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true }, { "id": "ImagingManifest.study.series.instance.uid", "path": "ImagingManifest.study.series.instance.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "ImagingManifest", "path": "ImagingManifest", "min": 0, "max": "*" }, { "id": "ImagingManifest.uid", "path": "ImagingManifest.uid", "min": 0, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true }, { "id": "ImagingManifest.patient", "path": "ImagingManifest.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "ImagingManifest.authoringTime", "path": "ImagingManifest.authoringTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ImagingManifest.author", "path": "ImagingManifest.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "ImagingManifest.title", "path": "ImagingManifest.title", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "The document title code of key object selection", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/kos-title" } } }, { "id": "ImagingManifest.description", "path": "ImagingManifest.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImagingManifest.study", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Study" } ], "path": "ImagingManifest.study", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImagingManifest.study.uid", "path": "ImagingManifest.study.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true }, { "id": "ImagingManifest.study.imagingStudy", "path": "ImagingManifest.study.imagingStudy", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" } ], "isSummary": true }, { "id": "ImagingManifest.study.baseLocation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "StudyBaseLocation" } ], "path": "ImagingManifest.study.baseLocation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ImagingManifest.study.baseLocation.type", "path": "ImagingManifest.study.baseLocation.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The type of the service endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dWebType" } } }, { "id": "ImagingManifest.study.baseLocation.url", "path": "ImagingManifest.study.baseLocation.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ImagingManifest.study.series", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Series" } ], "path": "ImagingManifest.study.series", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImagingManifest.study.series.uid", "path": "ImagingManifest.study.series.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true }, { "id": "ImagingManifest.study.series.baseLocation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SeriesBaseLocation" } ], "path": "ImagingManifest.study.series.baseLocation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ImagingManifest.study.series.baseLocation.type", "path": "ImagingManifest.study.series.baseLocation.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The type of the service endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dWebType" } } }, { "id": "ImagingManifest.study.series.baseLocation.url", "path": "ImagingManifest.study.series.baseLocation.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "ImagingManifest.study.series.instance", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Instance" } ], "path": "ImagingManifest.study.series.instance", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImagingManifest.study.series.instance.sopClass", "path": "ImagingManifest.study.series.instance.sopClass", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true }, { "id": "ImagingManifest.study.series.instance.uid", "path": "ImagingManifest.study.series.instance.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ImagingStudy", "resource": { "resourceType": "StructureDefinition", "id": "ImagingStudy", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "ii" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Diagnostics" } ], "url": "http://hl7.org/fhir/StructureDefinition/ImagingStudy", "name": "ImagingStudy", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ImagingStudy", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ImagingStudy", "path": "ImagingStudy", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ImagingStudy.id", "path": "ImagingStudy.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ImagingStudy.meta", "path": "ImagingStudy.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ImagingStudy.implicitRules", "path": "ImagingStudy.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingStudy.language", "path": "ImagingStudy.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ImagingStudy.text", "path": "ImagingStudy.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ImagingStudy.contained", "path": "ImagingStudy.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ImagingStudy.extension", "path": "ImagingStudy.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingStudy.modifierExtension", "path": "ImagingStudy.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ImagingStudy.uid", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "valueString": "dicom=" } ], "path": "ImagingStudy.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "example": [ { "label": "General", "valueOid": "urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045" } ], "isSummary": true }, { "id": "ImagingStudy.accession", "path": "ImagingStudy.accession", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ImagingStudy.identifier", "path": "ImagingStudy.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ImagingStudy.availability", "path": "ImagingStudy.availability", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Availability of the resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/instance-availability" } } }, { "id": "ImagingStudy.modalityList", "path": "ImagingStudy.modalityList", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Type of acquired data in the instance", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dicom-cid29" } } }, { "id": "ImagingStudy.patient", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "valueString": "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.2.2.html" } ], "path": "ImagingStudy.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "ImagingStudy.context", "path": "ImagingStudy.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "ImagingStudy.started", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "valueString": "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html#sect_C.7.2.1" } ], "path": "ImagingStudy.started", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "example": [ { "label": "General", "valueDateTime": "2011-01-01T11:01:20+03:00" } ], "isSummary": true }, { "id": "ImagingStudy.basedOn", "path": "ImagingStudy.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" } ], "isSummary": true }, { "id": "ImagingStudy.referrer", "path": "ImagingStudy.referrer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "ImagingStudy.interpreter", "path": "ImagingStudy.interpreter", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "ImagingStudy.baseLocation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "StudyBaseLocation" } ], "path": "ImagingStudy.baseLocation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImagingStudy.baseLocation.id", "path": "ImagingStudy.baseLocation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingStudy.baseLocation.extension", "path": "ImagingStudy.baseLocation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingStudy.baseLocation.modifierExtension", "path": "ImagingStudy.baseLocation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingStudy.baseLocation.type", "path": "ImagingStudy.baseLocation.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The type of the service endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dWebType" } } }, { "id": "ImagingStudy.baseLocation.url", "path": "ImagingStudy.baseLocation.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImagingStudy.numberOfSeries", "path": "ImagingStudy.numberOfSeries", "min": 1, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "ImagingStudy.numberOfInstances", "path": "ImagingStudy.numberOfInstances", "min": 1, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "ImagingStudy.procedure", "path": "ImagingStudy.procedure", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "isSummary": true }, { "id": "ImagingStudy.reason", "path": "ImagingStudy.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The reason for the study" } }, { "id": "ImagingStudy.description", "path": "ImagingStudy.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImagingStudy.series", "path": "ImagingStudy.series", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImagingStudy.series.id", "path": "ImagingStudy.series.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingStudy.series.extension", "path": "ImagingStudy.series.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingStudy.series.modifierExtension", "path": "ImagingStudy.series.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingStudy.series.uid", "path": "ImagingStudy.series.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "example": [ { "label": "General", "valueOid": "urn:oid:2.16.124.113543.6003.2588828330.45298.17418.2723805630" } ], "isSummary": true }, { "id": "ImagingStudy.series.number", "path": "ImagingStudy.series.number", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "example": [ { "label": "General", "valueUnsignedInt": 3 } ], "isSummary": true }, { "id": "ImagingStudy.series.modality", "path": "ImagingStudy.series.modality", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Type of acquired data in the instance", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dicom-cid29" } } }, { "id": "ImagingStudy.series.description", "path": "ImagingStudy.series.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "example": [ { "label": "General", "valueString": "CT Surview 180" } ], "isSummary": true }, { "id": "ImagingStudy.series.numberOfInstances", "path": "ImagingStudy.series.numberOfInstances", "min": 1, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "ImagingStudy.series.availability", "path": "ImagingStudy.series.availability", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Availability of the resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/instance-availability" } } }, { "id": "ImagingStudy.series.baseLocation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SeriesBaseLocation" } ], "path": "ImagingStudy.series.baseLocation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImagingStudy.series.baseLocation.id", "path": "ImagingStudy.series.baseLocation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingStudy.series.baseLocation.extension", "path": "ImagingStudy.series.baseLocation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingStudy.series.baseLocation.modifierExtension", "path": "ImagingStudy.series.baseLocation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingStudy.series.baseLocation.type", "path": "ImagingStudy.series.baseLocation.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The type of the service endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dWebType" } } }, { "id": "ImagingStudy.series.baseLocation.url", "path": "ImagingStudy.series.baseLocation.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImagingStudy.series.bodySite", "path": "ImagingStudy.series.bodySite", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "ImagingStudy.series.laterality", "path": "ImagingStudy.series.laterality", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing body site laterality (left, right, etc.).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/bodysite-laterality" } } }, { "id": "ImagingStudy.series.started", "path": "ImagingStudy.series.started", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ImagingStudy.series.instance", "path": "ImagingStudy.series.instance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ImagingStudy.series.instance.id", "path": "ImagingStudy.series.instance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImagingStudy.series.instance.extension", "path": "ImagingStudy.series.instance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImagingStudy.series.instance.modifierExtension", "path": "ImagingStudy.series.instance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImagingStudy.series.instance.uid", "path": "ImagingStudy.series.instance.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "example": [ { "label": "General", "valueOid": "urn:oid:2.16.124.113543.6003.189642796.63084.16748.2599092903" } ] }, { "id": "ImagingStudy.series.instance.number", "path": "ImagingStudy.series.instance.number", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "example": [ { "label": "General", "valueUnsignedInt": 1 } ] }, { "id": "ImagingStudy.series.instance.sopClass", "path": "ImagingStudy.series.instance.sopClass", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "example": [ { "label": "General", "valueOid": "urn:oid:1.2.840.10008.5.1.4.1.1.2" } ] }, { "id": "ImagingStudy.series.instance.title", "path": "ImagingStudy.series.instance.title", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "ImagingStudy", "path": "ImagingStudy", "min": 0, "max": "*" }, { "id": "ImagingStudy.uid", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "valueString": "dicom=" } ], "path": "ImagingStudy.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "example": [ { "label": "General", "valueOid": "urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045" } ], "isSummary": true }, { "id": "ImagingStudy.accession", "path": "ImagingStudy.accession", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ImagingStudy.identifier", "path": "ImagingStudy.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ImagingStudy.availability", "path": "ImagingStudy.availability", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Availability of the resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/instance-availability" } } }, { "id": "ImagingStudy.modalityList", "path": "ImagingStudy.modalityList", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Type of acquired data in the instance", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dicom-cid29" } } }, { "id": "ImagingStudy.patient", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "valueString": "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.2.2.html" } ], "path": "ImagingStudy.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "ImagingStudy.context", "path": "ImagingStudy.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "ImagingStudy.started", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "valueString": "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html#sect_C.7.2.1" } ], "path": "ImagingStudy.started", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "example": [ { "label": "General", "valueDateTime": "2011-01-01T11:01:20+03:00" } ], "isSummary": true }, { "id": "ImagingStudy.basedOn", "path": "ImagingStudy.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" } ], "isSummary": true }, { "id": "ImagingStudy.referrer", "path": "ImagingStudy.referrer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "ImagingStudy.interpreter", "path": "ImagingStudy.interpreter", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "ImagingStudy.baseLocation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "StudyBaseLocation" } ], "path": "ImagingStudy.baseLocation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImagingStudy.baseLocation.type", "path": "ImagingStudy.baseLocation.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The type of the service endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dWebType" } } }, { "id": "ImagingStudy.baseLocation.url", "path": "ImagingStudy.baseLocation.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImagingStudy.numberOfSeries", "path": "ImagingStudy.numberOfSeries", "min": 1, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "ImagingStudy.numberOfInstances", "path": "ImagingStudy.numberOfInstances", "min": 1, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "ImagingStudy.procedure", "path": "ImagingStudy.procedure", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "isSummary": true }, { "id": "ImagingStudy.reason", "path": "ImagingStudy.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The reason for the study" } }, { "id": "ImagingStudy.description", "path": "ImagingStudy.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImagingStudy.series", "path": "ImagingStudy.series", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImagingStudy.series.uid", "path": "ImagingStudy.series.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "example": [ { "label": "General", "valueOid": "urn:oid:2.16.124.113543.6003.2588828330.45298.17418.2723805630" } ], "isSummary": true }, { "id": "ImagingStudy.series.number", "path": "ImagingStudy.series.number", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "example": [ { "label": "General", "valueUnsignedInt": 3 } ], "isSummary": true }, { "id": "ImagingStudy.series.modality", "path": "ImagingStudy.series.modality", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Type of acquired data in the instance", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dicom-cid29" } } }, { "id": "ImagingStudy.series.description", "path": "ImagingStudy.series.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "example": [ { "label": "General", "valueString": "CT Surview 180" } ], "isSummary": true }, { "id": "ImagingStudy.series.numberOfInstances", "path": "ImagingStudy.series.numberOfInstances", "min": 1, "max": "1", "type": [ { "code": "unsignedInt" } ], "isSummary": true }, { "id": "ImagingStudy.series.availability", "path": "ImagingStudy.series.availability", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Availability of the resource", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/instance-availability" } } }, { "id": "ImagingStudy.series.baseLocation", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SeriesBaseLocation" } ], "path": "ImagingStudy.series.baseLocation", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImagingStudy.series.baseLocation.type", "path": "ImagingStudy.series.baseLocation.type", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The type of the service endpoint", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/dWebType" } } }, { "id": "ImagingStudy.series.baseLocation.url", "path": "ImagingStudy.series.baseLocation.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImagingStudy.series.bodySite", "path": "ImagingStudy.series.bodySite", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "ImagingStudy.series.laterality", "path": "ImagingStudy.series.laterality", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing body site laterality (left, right, etc.).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/bodysite-laterality" } } }, { "id": "ImagingStudy.series.started", "path": "ImagingStudy.series.started", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ImagingStudy.series.instance", "path": "ImagingStudy.series.instance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ImagingStudy.series.instance.uid", "path": "ImagingStudy.series.instance.uid", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "example": [ { "label": "General", "valueOid": "urn:oid:2.16.124.113543.6003.189642796.63084.16748.2599092903" } ] }, { "id": "ImagingStudy.series.instance.number", "path": "ImagingStudy.series.instance.number", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "example": [ { "label": "General", "valueUnsignedInt": 1 } ] }, { "id": "ImagingStudy.series.instance.sopClass", "path": "ImagingStudy.series.instance.sopClass", "min": 1, "max": "1", "type": [ { "code": "oid" } ], "example": [ { "label": "General", "valueOid": "urn:oid:1.2.840.10008.5.1.4.1.1.2" } ] }, { "id": "ImagingStudy.series.instance.title", "path": "ImagingStudy.series.instance.title", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Immunization", "resource": { "resourceType": "StructureDefinition", "id": "Immunization", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pher" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Medication & Immunization" } ], "url": "http://hl7.org/fhir/StructureDefinition/Immunization", "name": "Immunization", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Immunization", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Immunization", "path": "Immunization", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "imm-2", "severity": "error", "human": "If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent.", "expression": "(wasNotGiven = true) or explanation.reasonNotGiven.empty()", "xpath": "not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))" }, { "key": "imm-1", "severity": "error", "human": "If immunization was not administered (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present", "expression": "(wasNotGiven = true).not() or (reaction.empty() and explanation.reason.empty())", "xpath": "not(f:wasNotGiven/@value=true() and (count(f:reaction) > 0 or exists(f:explanation/f:reason)))" } ] }, { "id": "Immunization.id", "path": "Immunization.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Immunization.meta", "path": "Immunization.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Immunization.implicitRules", "path": "Immunization.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Immunization.language", "path": "Immunization.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Immunization.text", "path": "Immunization.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Immunization.contained", "path": "Immunization.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Immunization.extension", "path": "Immunization.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Immunization.modifierExtension", "path": "Immunization.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Immunization.identifier", "path": "Immunization.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Immunization.status", "path": "Immunization.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A set of codes indicating the current status of an Immunization", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-status" } } }, { "id": "Immunization.date", "path": "Immunization.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Immunization.vaccineCode", "path": "Immunization.vaccineCode", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for vaccine product administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccine-code" } } }, { "id": "Immunization.patient", "path": "Immunization.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "Immunization.wasNotGiven", "path": "Immunization.wasNotGiven", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "Immunization.primarySource", "path": "Immunization.primarySource", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Immunization.reportOrigin", "path": "Immunization.reportOrigin", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The source of the data for a record which is not from a primary source.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-origin" } } }, { "id": "Immunization.performer", "path": "Immunization.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Immunization.requester", "path": "Immunization.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Immunization.encounter", "path": "Immunization.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "Immunization.manufacturer", "path": "Immunization.manufacturer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Immunization.location", "path": "Immunization.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Immunization.lotNumber", "path": "Immunization.lotNumber", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Immunization.expirationDate", "path": "Immunization.expirationDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Immunization.site", "path": "Immunization.site", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The site at which the vaccine was administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-site" } } }, { "id": "Immunization.route", "path": "Immunization.route", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The route by which the vaccine was administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-route" } } }, { "id": "Immunization.doseQuantity", "path": "Immunization.doseQuantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Immunization.note", "path": "Immunization.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ], "isSummary": true }, { "id": "Immunization.explanation", "path": "Immunization.explanation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Immunization.explanation.id", "path": "Immunization.explanation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Immunization.explanation.extension", "path": "Immunization.explanation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Immunization.explanation.modifierExtension", "path": "Immunization.explanation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Immunization.explanation.reason", "path": "Immunization.explanation.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason why a vaccine was administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-reason" } } }, { "id": "Immunization.explanation.reasonNotGiven", "path": "Immunization.explanation.reasonNotGiven", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason why a vaccine was not administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/no-immunization-reason" } } }, { "id": "Immunization.reaction", "path": "Immunization.reaction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Immunization.reaction.id", "path": "Immunization.reaction.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Immunization.reaction.extension", "path": "Immunization.reaction.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Immunization.reaction.modifierExtension", "path": "Immunization.reaction.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Immunization.reaction.date", "path": "Immunization.reaction.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Immunization.reaction.detail", "path": "Immunization.reaction.detail", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "Immunization.reaction.reported", "path": "Immunization.reaction.reported", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Immunization.vaccinationProtocol", "path": "Immunization.vaccinationProtocol", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Immunization.vaccinationProtocol.id", "path": "Immunization.vaccinationProtocol.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Immunization.vaccinationProtocol.extension", "path": "Immunization.vaccinationProtocol.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Immunization.vaccinationProtocol.modifierExtension", "path": "Immunization.vaccinationProtocol.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Immunization.vaccinationProtocol.doseSequence", "path": "Immunization.vaccinationProtocol.doseSequence", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Immunization.vaccinationProtocol.description", "path": "Immunization.vaccinationProtocol.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Immunization.vaccinationProtocol.authority", "path": "Immunization.vaccinationProtocol.authority", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Immunization.vaccinationProtocol.series", "path": "Immunization.vaccinationProtocol.series", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Immunization.vaccinationProtocol.seriesDoses", "path": "Immunization.vaccinationProtocol.seriesDoses", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Immunization.vaccinationProtocol.targetDisease", "path": "Immunization.vaccinationProtocol.targetDisease", "min": 1, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The disease target of the vaccination protocol", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target" } } }, { "id": "Immunization.vaccinationProtocol.doseStatus", "path": "Immunization.vaccinationProtocol.doseStatus", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The status of the vaccination protocol (i.e. should this count)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status" } } }, { "id": "Immunization.vaccinationProtocol.doseStatusReason", "path": "Immunization.vaccinationProtocol.doseStatusReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason for the determining if a vaccination should count or why vaccination should not count.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason" } } } ] }, "differential": { "element": [ { "id": "Immunization", "path": "Immunization", "min": 0, "max": "*", "constraint": [ { "key": "imm-2", "severity": "error", "human": "If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent.", "expression": "(wasNotGiven = true) or explanation.reasonNotGiven.empty()", "xpath": "not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))" }, { "key": "imm-1", "severity": "error", "human": "If immunization was not administered (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present", "expression": "(wasNotGiven = true).not() or (reaction.empty() and explanation.reason.empty())", "xpath": "not(f:wasNotGiven/@value=true() and (count(f:reaction) > 0 or exists(f:explanation/f:reason)))" } ] }, { "id": "Immunization.identifier", "path": "Immunization.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Immunization.status", "path": "Immunization.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A set of codes indicating the current status of an Immunization", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-status" } } }, { "id": "Immunization.date", "path": "Immunization.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Immunization.vaccineCode", "path": "Immunization.vaccineCode", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The code for vaccine product administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccine-code" } } }, { "id": "Immunization.patient", "path": "Immunization.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "Immunization.wasNotGiven", "path": "Immunization.wasNotGiven", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "Immunization.primarySource", "path": "Immunization.primarySource", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Immunization.reportOrigin", "path": "Immunization.reportOrigin", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The source of the data for a record which is not from a primary source.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-origin" } } }, { "id": "Immunization.performer", "path": "Immunization.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Immunization.requester", "path": "Immunization.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Immunization.encounter", "path": "Immunization.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "Immunization.manufacturer", "path": "Immunization.manufacturer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Immunization.location", "path": "Immunization.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Immunization.lotNumber", "path": "Immunization.lotNumber", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Immunization.expirationDate", "path": "Immunization.expirationDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Immunization.site", "path": "Immunization.site", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The site at which the vaccine was administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-site" } } }, { "id": "Immunization.route", "path": "Immunization.route", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The route by which the vaccine was administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-route" } } }, { "id": "Immunization.doseQuantity", "path": "Immunization.doseQuantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Immunization.note", "path": "Immunization.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ], "isSummary": true }, { "id": "Immunization.explanation", "path": "Immunization.explanation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Immunization.explanation.reason", "path": "Immunization.explanation.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason why a vaccine was administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-reason" } } }, { "id": "Immunization.explanation.reasonNotGiven", "path": "Immunization.explanation.reasonNotGiven", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason why a vaccine was not administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/no-immunization-reason" } } }, { "id": "Immunization.reaction", "path": "Immunization.reaction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Immunization.reaction.date", "path": "Immunization.reaction.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Immunization.reaction.detail", "path": "Immunization.reaction.detail", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "Immunization.reaction.reported", "path": "Immunization.reaction.reported", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Immunization.vaccinationProtocol", "path": "Immunization.vaccinationProtocol", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Immunization.vaccinationProtocol.doseSequence", "path": "Immunization.vaccinationProtocol.doseSequence", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Immunization.vaccinationProtocol.description", "path": "Immunization.vaccinationProtocol.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Immunization.vaccinationProtocol.authority", "path": "Immunization.vaccinationProtocol.authority", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Immunization.vaccinationProtocol.series", "path": "Immunization.vaccinationProtocol.series", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Immunization.vaccinationProtocol.seriesDoses", "path": "Immunization.vaccinationProtocol.seriesDoses", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Immunization.vaccinationProtocol.targetDisease", "path": "Immunization.vaccinationProtocol.targetDisease", "min": 1, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The disease target of the vaccination protocol", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target" } } }, { "id": "Immunization.vaccinationProtocol.doseStatus", "path": "Immunization.vaccinationProtocol.doseStatus", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The status of the vaccination protocol (i.e. should this count)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status" } } }, { "id": "Immunization.vaccinationProtocol.doseStatusReason", "path": "Immunization.vaccinationProtocol.doseStatusReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason for the determining if a vaccination should count or why vaccination should not count.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", "resource": { "resourceType": "StructureDefinition", "id": "ImmunizationRecommendation", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pher" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Medication & Immunization" } ], "url": "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", "name": "ImmunizationRecommendation", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ImmunizationRecommendation", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ImmunizationRecommendation", "path": "ImmunizationRecommendation", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ImmunizationRecommendation.id", "path": "ImmunizationRecommendation.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.meta", "path": "ImmunizationRecommendation.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.implicitRules", "path": "ImmunizationRecommendation.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ImmunizationRecommendation.language", "path": "ImmunizationRecommendation.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ImmunizationRecommendation.text", "path": "ImmunizationRecommendation.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ImmunizationRecommendation.contained", "path": "ImmunizationRecommendation.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ImmunizationRecommendation.extension", "path": "ImmunizationRecommendation.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImmunizationRecommendation.modifierExtension", "path": "ImmunizationRecommendation.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ImmunizationRecommendation.identifier", "path": "ImmunizationRecommendation.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.patient", "path": "ImmunizationRecommendation.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation", "path": "ImmunizationRecommendation.recommendation", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.id", "path": "ImmunizationRecommendation.recommendation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImmunizationRecommendation.recommendation.extension", "path": "ImmunizationRecommendation.recommendation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImmunizationRecommendation.recommendation.modifierExtension", "path": "ImmunizationRecommendation.recommendation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.date", "path": "ImmunizationRecommendation.recommendation.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.vaccineCode", "path": "ImmunizationRecommendation.recommendation.vaccineCode", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The type of vaccine administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccine-code" } } }, { "id": "ImmunizationRecommendation.recommendation.doseNumber", "path": "ImmunizationRecommendation.recommendation.doseNumber", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.forecastStatus", "path": "ImmunizationRecommendation.recommendation.forecastStatus", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The patient's status with respect to a vaccination protocol", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-recommendation-status" } } }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion", "path": "ImmunizationRecommendation.recommendation.dateCriterion", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion.id", "path": "ImmunizationRecommendation.recommendation.dateCriterion.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion.extension", "path": "ImmunizationRecommendation.recommendation.dateCriterion.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion.modifierExtension", "path": "ImmunizationRecommendation.recommendation.dateCriterion.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion.code", "path": "ImmunizationRecommendation.recommendation.dateCriterion.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Classifies date criterion with respect to conveying information about a patient's vaccination status (e.g. due date, latest to give date, etc.)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion" } } }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion.value", "path": "ImmunizationRecommendation.recommendation.dateCriterion.value", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol", "path": "ImmunizationRecommendation.recommendation.protocol", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.id", "path": "ImmunizationRecommendation.recommendation.protocol.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.extension", "path": "ImmunizationRecommendation.recommendation.protocol.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.modifierExtension", "path": "ImmunizationRecommendation.recommendation.protocol.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.protocol.doseSequence", "path": "ImmunizationRecommendation.recommendation.protocol.doseSequence", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.description", "path": "ImmunizationRecommendation.recommendation.protocol.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.authority", "path": "ImmunizationRecommendation.recommendation.protocol.authority", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.series", "path": "ImmunizationRecommendation.recommendation.protocol.series", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImmunizationRecommendation.recommendation.supportingImmunization", "path": "ImmunizationRecommendation.recommendation.supportingImmunization", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Immunization" } ] }, { "id": "ImmunizationRecommendation.recommendation.supportingPatientInformation", "path": "ImmunizationRecommendation.recommendation.supportingPatientInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" } ] } ] }, "differential": { "element": [ { "id": "ImmunizationRecommendation", "path": "ImmunizationRecommendation", "min": 0, "max": "*" }, { "id": "ImmunizationRecommendation.identifier", "path": "ImmunizationRecommendation.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.patient", "path": "ImmunizationRecommendation.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation", "path": "ImmunizationRecommendation.recommendation", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.date", "path": "ImmunizationRecommendation.recommendation.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.vaccineCode", "path": "ImmunizationRecommendation.recommendation.vaccineCode", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The type of vaccine administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vaccine-code" } } }, { "id": "ImmunizationRecommendation.recommendation.doseNumber", "path": "ImmunizationRecommendation.recommendation.doseNumber", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "isSummary": true }, { "id": "ImmunizationRecommendation.recommendation.forecastStatus", "path": "ImmunizationRecommendation.recommendation.forecastStatus", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The patient's status with respect to a vaccination protocol", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-recommendation-status" } } }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion", "path": "ImmunizationRecommendation.recommendation.dateCriterion", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion.code", "path": "ImmunizationRecommendation.recommendation.dateCriterion.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Classifies date criterion with respect to conveying information about a patient's vaccination status (e.g. due date, latest to give date, etc.)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion" } } }, { "id": "ImmunizationRecommendation.recommendation.dateCriterion.value", "path": "ImmunizationRecommendation.recommendation.dateCriterion.value", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol", "path": "ImmunizationRecommendation.recommendation.protocol", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.doseSequence", "path": "ImmunizationRecommendation.recommendation.protocol.doseSequence", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.description", "path": "ImmunizationRecommendation.recommendation.protocol.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.authority", "path": "ImmunizationRecommendation.recommendation.protocol.authority", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ImmunizationRecommendation.recommendation.protocol.series", "path": "ImmunizationRecommendation.recommendation.protocol.series", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImmunizationRecommendation.recommendation.supportingImmunization", "path": "ImmunizationRecommendation.recommendation.supportingImmunization", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Immunization" } ] }, { "id": "ImmunizationRecommendation.recommendation.supportingPatientInformation", "path": "ImmunizationRecommendation.recommendation.supportingPatientInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ImplementationGuide", "resource": { "resourceType": "StructureDefinition", "id": "ImplementationGuide", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Content" } ], "url": "http://hl7.org/fhir/StructureDefinition/ImplementationGuide", "name": "ImplementationGuide", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "An implementation guide is able to define default profiles that must apply to any use of a resource, so validation services may need to take one or more implementation guide resources when validating.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ImplementationGuide", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "ImplementationGuide", "path": "ImplementationGuide", "min": 1, "max": "1", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ImplementationGuide.id", "path": "ImplementationGuide.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ImplementationGuide.meta", "path": "ImplementationGuide.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ImplementationGuide.implicitRules", "path": "ImplementationGuide.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ImplementationGuide.language", "path": "ImplementationGuide.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ImplementationGuide.text", "path": "ImplementationGuide.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ImplementationGuide.contained", "path": "ImplementationGuide.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ImplementationGuide.extension", "path": "ImplementationGuide.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImplementationGuide.modifierExtension", "path": "ImplementationGuide.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ImplementationGuide.url", "path": "ImplementationGuide.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImplementationGuide.version", "path": "ImplementationGuide.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.name", "path": "ImplementationGuide.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.status", "path": "ImplementationGuide.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ImplementationGuide.experimental", "path": "ImplementationGuide.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ImplementationGuide.publisher", "path": "ImplementationGuide.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.contact", "path": "ImplementationGuide.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ImplementationGuide.date", "path": "ImplementationGuide.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ImplementationGuide.description", "path": "ImplementationGuide.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ImplementationGuide.useContext", "path": "ImplementationGuide.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ImplementationGuide.jurisdiction", "path": "ImplementationGuide.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ImplementationGuide.copyright", "path": "ImplementationGuide.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ImplementationGuide.fhirVersion", "path": "ImplementationGuide.fhirVersion", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ImplementationGuide.dependency", "path": "ImplementationGuide.dependency", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImplementationGuide.dependency.id", "path": "ImplementationGuide.dependency.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.dependency.extension", "path": "ImplementationGuide.dependency.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImplementationGuide.dependency.modifierExtension", "path": "ImplementationGuide.dependency.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImplementationGuide.dependency.type", "path": "ImplementationGuide.dependency.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How a dependency is represented when the guide is published.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/guide-dependency-type" } } }, { "id": "ImplementationGuide.dependency.uri", "path": "ImplementationGuide.dependency.uri", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImplementationGuide.package", "path": "ImplementationGuide.package", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImplementationGuide.package.id", "path": "ImplementationGuide.package.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.package.extension", "path": "ImplementationGuide.package.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImplementationGuide.package.modifierExtension", "path": "ImplementationGuide.package.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImplementationGuide.package.name", "path": "ImplementationGuide.package.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.package.description", "path": "ImplementationGuide.package.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.package.resource", "path": "ImplementationGuide.package.resource", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImplementationGuide.package.resource.id", "path": "ImplementationGuide.package.resource.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.package.resource.extension", "path": "ImplementationGuide.package.resource.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImplementationGuide.package.resource.modifierExtension", "path": "ImplementationGuide.package.resource.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImplementationGuide.package.resource.example", "path": "ImplementationGuide.package.resource.example", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ImplementationGuide.package.resource.name", "path": "ImplementationGuide.package.resource.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.package.resource.description", "path": "ImplementationGuide.package.resource.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.package.resource.acronym", "path": "ImplementationGuide.package.resource.acronym", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.package.resource.source[x]", "path": "ImplementationGuide.package.resource.source[x]", "min": 1, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "ImplementationGuide.package.resource.exampleFor", "path": "ImplementationGuide.package.resource.exampleFor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ] }, { "id": "ImplementationGuide.global", "path": "ImplementationGuide.global", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImplementationGuide.global.id", "path": "ImplementationGuide.global.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.global.extension", "path": "ImplementationGuide.global.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImplementationGuide.global.modifierExtension", "path": "ImplementationGuide.global.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImplementationGuide.global.type", "path": "ImplementationGuide.global.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "ImplementationGuide.global.profile", "path": "ImplementationGuide.global.profile", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "ImplementationGuide.binary", "path": "ImplementationGuide.binary", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "ImplementationGuide.page", "path": "ImplementationGuide.page", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "ImplementationGuide.page.id", "path": "ImplementationGuide.page.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.page.extension", "path": "ImplementationGuide.page.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ImplementationGuide.page.modifierExtension", "path": "ImplementationGuide.page.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ImplementationGuide.page.source", "path": "ImplementationGuide.page.source", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImplementationGuide.page.title", "path": "ImplementationGuide.page.title", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.page.kind", "path": "ImplementationGuide.page.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The kind of an included page.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/guide-page-kind" } } }, { "id": "ImplementationGuide.page.type", "path": "ImplementationGuide.page.type", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "ImplementationGuide.page.package", "path": "ImplementationGuide.page.package", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.page.format", "path": "ImplementationGuide.page.format", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "ImplementationGuide.page.page", "path": "ImplementationGuide.page.page", "min": 0, "max": "*", "contentReference": "#ImplementationGuide.page" } ] }, "differential": { "element": [ { "id": "ImplementationGuide", "path": "ImplementationGuide", "min": 1, "max": "1" }, { "id": "ImplementationGuide.url", "path": "ImplementationGuide.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImplementationGuide.version", "path": "ImplementationGuide.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.name", "path": "ImplementationGuide.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.status", "path": "ImplementationGuide.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ImplementationGuide.experimental", "path": "ImplementationGuide.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ImplementationGuide.publisher", "path": "ImplementationGuide.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.contact", "path": "ImplementationGuide.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ImplementationGuide.date", "path": "ImplementationGuide.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ImplementationGuide.description", "path": "ImplementationGuide.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ImplementationGuide.useContext", "path": "ImplementationGuide.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ImplementationGuide.jurisdiction", "path": "ImplementationGuide.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ImplementationGuide.copyright", "path": "ImplementationGuide.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ImplementationGuide.fhirVersion", "path": "ImplementationGuide.fhirVersion", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ImplementationGuide.dependency", "path": "ImplementationGuide.dependency", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImplementationGuide.dependency.type", "path": "ImplementationGuide.dependency.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How a dependency is represented when the guide is published.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/guide-dependency-type" } } }, { "id": "ImplementationGuide.dependency.uri", "path": "ImplementationGuide.dependency.uri", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImplementationGuide.package", "path": "ImplementationGuide.package", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImplementationGuide.package.name", "path": "ImplementationGuide.package.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.package.description", "path": "ImplementationGuide.package.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.package.resource", "path": "ImplementationGuide.package.resource", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImplementationGuide.package.resource.example", "path": "ImplementationGuide.package.resource.example", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "ImplementationGuide.package.resource.name", "path": "ImplementationGuide.package.resource.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.package.resource.description", "path": "ImplementationGuide.package.resource.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.package.resource.acronym", "path": "ImplementationGuide.package.resource.acronym", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.package.resource.source[x]", "path": "ImplementationGuide.package.resource.source[x]", "min": 1, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "ImplementationGuide.package.resource.exampleFor", "path": "ImplementationGuide.package.resource.exampleFor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ] }, { "id": "ImplementationGuide.global", "path": "ImplementationGuide.global", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImplementationGuide.global.type", "path": "ImplementationGuide.global.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "ImplementationGuide.global.profile", "path": "ImplementationGuide.global.profile", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ], "isSummary": true }, { "id": "ImplementationGuide.binary", "path": "ImplementationGuide.binary", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "ImplementationGuide.page", "path": "ImplementationGuide.page", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "ImplementationGuide.page.source", "path": "ImplementationGuide.page.source", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ImplementationGuide.page.title", "path": "ImplementationGuide.page.title", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ImplementationGuide.page.kind", "path": "ImplementationGuide.page.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The kind of an included page.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/guide-page-kind" } } }, { "id": "ImplementationGuide.page.type", "path": "ImplementationGuide.page.type", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "ImplementationGuide.page.package", "path": "ImplementationGuide.page.package", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ImplementationGuide.page.format", "path": "ImplementationGuide.page.format", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" } }, { "id": "ImplementationGuide.page.page", "path": "ImplementationGuide.page.page", "min": 0, "max": "*", "contentReference": "#ImplementationGuide.page" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Library", "resource": { "resourceType": "StructureDefinition", "id": "Library", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical Reasoning" } ], "url": "http://hl7.org/fhir/StructureDefinition/Library", "name": "Library", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Library", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "Library", "path": "Library", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Library.id", "path": "Library.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Library.meta", "path": "Library.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Library.implicitRules", "path": "Library.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Library.language", "path": "Library.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Library.text", "path": "Library.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Library.contained", "path": "Library.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Library.extension", "path": "Library.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Library.modifierExtension", "path": "Library.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Library.url", "path": "Library.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Library.identifier", "path": "Library.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Library.version", "path": "Library.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Library.name", "path": "Library.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Library.title", "path": "Library.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Library.type", "path": "Library.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "extensible", "description": "The type of knowledge asset this library contains", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/library-type" } } }, { "id": "Library.status", "path": "Library.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "Library.experimental", "path": "Library.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "Library.date", "path": "Library.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Library.description", "path": "Library.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Library.purpose", "path": "Library.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Library.usage", "path": "Library.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Library.approvalDate", "path": "Library.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Library.lastReviewDate", "path": "Library.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Library.effectivePeriod", "path": "Library.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Library.useContext", "path": "Library.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "Library.jurisdiction", "path": "Library.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "Library.topic", "path": "Library.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "Library.contributor", "path": "Library.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "Library.publisher", "path": "Library.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Library.contact", "path": "Library.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "Library.copyright", "path": "Library.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Library.relatedArtifact", "path": "Library.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "Library.parameter", "path": "Library.parameter", "min": 0, "max": "*", "type": [ { "code": "ParameterDefinition" } ] }, { "id": "Library.dataRequirement", "path": "Library.dataRequirement", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] }, { "id": "Library.content", "path": "Library.content", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] } ] }, "differential": { "element": [ { "id": "Library", "path": "Library", "min": 0, "max": "*" }, { "id": "Library.url", "path": "Library.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Library.identifier", "path": "Library.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Library.version", "path": "Library.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Library.name", "path": "Library.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Library.title", "path": "Library.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Library.type", "path": "Library.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "extensible", "description": "The type of knowledge asset this library contains", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/library-type" } } }, { "id": "Library.status", "path": "Library.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "Library.experimental", "path": "Library.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "Library.date", "path": "Library.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Library.description", "path": "Library.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Library.purpose", "path": "Library.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Library.usage", "path": "Library.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Library.approvalDate", "path": "Library.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Library.lastReviewDate", "path": "Library.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Library.effectivePeriod", "path": "Library.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Library.useContext", "path": "Library.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "Library.jurisdiction", "path": "Library.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "Library.topic", "path": "Library.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "Library.contributor", "path": "Library.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "Library.publisher", "path": "Library.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Library.contact", "path": "Library.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "Library.copyright", "path": "Library.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Library.relatedArtifact", "path": "Library.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "Library.parameter", "path": "Library.parameter", "min": 0, "max": "*", "type": [ { "code": "ParameterDefinition" } ] }, { "id": "Library.dataRequirement", "path": "Library.dataRequirement", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] }, { "id": "Library.content", "path": "Library.content", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Linkage", "resource": { "resourceType": "StructureDefinition", "id": "Linkage", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Entities" } ], "url": "http://hl7.org/fhir/StructureDefinition/Linkage", "name": "Linkage", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Linkage", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Linkage", "path": "Linkage", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Linkage.id", "path": "Linkage.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Linkage.meta", "path": "Linkage.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Linkage.implicitRules", "path": "Linkage.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Linkage.language", "path": "Linkage.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Linkage.text", "path": "Linkage.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Linkage.contained", "path": "Linkage.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Linkage.extension", "path": "Linkage.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Linkage.modifierExtension", "path": "Linkage.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Linkage.author", "path": "Linkage.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Linkage.item", "path": "Linkage.item", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Linkage.item.id", "path": "Linkage.item.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Linkage.item.extension", "path": "Linkage.item.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Linkage.item.modifierExtension", "path": "Linkage.item.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Linkage.item.type", "path": "Linkage.item.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Used to distinguish different roles a resource can play within a set of linked resources", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/linkage-type" } } }, { "id": "Linkage.item.resource", "path": "Linkage.item.resource", "min": 1, "max": "1", "type": [ { "code": "Reference" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "Linkage", "path": "Linkage", "min": 0, "max": "*" }, { "id": "Linkage.author", "path": "Linkage.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Linkage.item", "path": "Linkage.item", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Linkage.item.type", "path": "Linkage.item.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Used to distinguish different roles a resource can play within a set of linked resources", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/linkage-type" } } }, { "id": "Linkage.item.resource", "path": "Linkage.item.resource", "min": 1, "max": "1", "type": [ { "code": "Reference" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/List", "resource": { "resourceType": "StructureDefinition", "id": "List", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Foundation/Documents & Questionnaires" } ], "url": "http://hl7.org/fhir/StructureDefinition/List", "name": "List", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "List", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "List", "path": "List", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "lst-2", "severity": "error", "human": "The deleted flag can only be used if the mode of the list is \"changes\"", "expression": "mode = 'changes' or entry.deleted.empty()", "xpath": "(f:mode/@value = 'changes') or not(exists(f:entry/f:deleted))" }, { "key": "lst-1", "severity": "error", "human": "A list can only have an emptyReason if it is empty", "expression": "emptyReason.empty() or entry.empty()", "xpath": "not(exists(f:emptyReason) and exists(f:entry))" } ] }, { "id": "List.id", "path": "List.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "List.meta", "path": "List.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "List.implicitRules", "path": "List.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "List.language", "path": "List.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "List.text", "path": "List.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "List.contained", "path": "List.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "List.extension", "path": "List.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "List.modifierExtension", "path": "List.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "List.identifier", "path": "List.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "List.status", "path": "List.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The current state of the list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-status" } } }, { "id": "List.mode", "path": "List.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The processing mode that applies to this list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-mode" } } }, { "id": "List.title", "path": "List.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "example": [ { "label": "General", "valueString": "Dr. Jane's Patients" } ], "isSummary": true }, { "id": "List.code", "path": "List.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "What the purpose of a list is", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-example-codes" } } }, { "id": "List.subject", "path": "List.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "List.encounter", "path": "List.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "List.date", "path": "List.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "List.source", "path": "List.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "List.orderedBy", "path": "List.orderedBy", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "What order applies to the items in a list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-order" } } }, { "id": "List.note", "path": "List.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "List.entry", "path": "List.entry", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "lst-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "List.entry.id", "path": "List.entry.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "List.entry.extension", "path": "List.entry.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "List.entry.modifierExtension", "path": "List.entry.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "List.entry.flag", "path": "List.entry.flag", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes that provide further information about the reason and meaning of the item in the list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-item-flag" } } }, { "id": "List.entry.deleted", "path": "List.entry.deleted", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "condition": [ "lst-2" ], "isModifier": true }, { "id": "List.entry.date", "path": "List.entry.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "List.entry.item", "path": "List.entry.item", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "List.emptyReason", "path": "List.emptyReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "lst-1" ], "binding": { "strength": "preferred", "description": "If a list is empty, why it is empty", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-empty-reason" } } } ] }, "differential": { "element": [ { "id": "List", "path": "List", "min": 0, "max": "*", "constraint": [ { "key": "lst-2", "severity": "error", "human": "The deleted flag can only be used if the mode of the list is \"changes\"", "expression": "mode = 'changes' or entry.deleted.empty()", "xpath": "(f:mode/@value = 'changes') or not(exists(f:entry/f:deleted))" }, { "key": "lst-1", "severity": "error", "human": "A list can only have an emptyReason if it is empty", "expression": "emptyReason.empty() or entry.empty()", "xpath": "not(exists(f:emptyReason) and exists(f:entry))" } ] }, { "id": "List.identifier", "path": "List.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "List.status", "path": "List.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The current state of the list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-status" } } }, { "id": "List.mode", "path": "List.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The processing mode that applies to this list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-mode" } } }, { "id": "List.title", "path": "List.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "example": [ { "label": "General", "valueString": "Dr. Jane's Patients" } ], "isSummary": true }, { "id": "List.code", "path": "List.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "What the purpose of a list is", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-example-codes" } } }, { "id": "List.subject", "path": "List.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "List.encounter", "path": "List.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "List.date", "path": "List.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "List.source", "path": "List.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "List.orderedBy", "path": "List.orderedBy", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "What order applies to the items in a list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-order" } } }, { "id": "List.note", "path": "List.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "List.entry", "path": "List.entry", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "lst-1" ] }, { "id": "List.entry.flag", "path": "List.entry.flag", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes that provide further information about the reason and meaning of the item in the list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-item-flag" } } }, { "id": "List.entry.deleted", "path": "List.entry.deleted", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "condition": [ "lst-2" ], "isModifier": true }, { "id": "List.entry.date", "path": "List.entry.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "List.entry.item", "path": "List.entry.item", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "List.emptyReason", "path": "List.emptyReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "lst-1" ], "binding": { "strength": "preferred", "description": "If a list is empty, why it is empty", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/list-empty-reason" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Location", "resource": { "resourceType": "StructureDefinition", "id": "Location", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Entities" } ], "url": "http://hl7.org/fhir/StructureDefinition/Location", "name": "Location", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Location", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Location", "path": "Location", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Location.id", "path": "Location.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Location.meta", "path": "Location.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Location.implicitRules", "path": "Location.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Location.language", "path": "Location.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Location.text", "path": "Location.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Location.contained", "path": "Location.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Location.extension", "path": "Location.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Location.modifierExtension", "path": "Location.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Location.identifier", "path": "Location.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Location.status", "path": "Location.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the location is still in use.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/location-status" } } }, { "id": "Location.name", "path": "Location.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Location.alias", "path": "Location.alias", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "Location.description", "path": "Location.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Location.mode", "path": "Location.mode", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether a resource instance represents a specific location or a class of locations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/location-mode" } } }, { "id": "Location.type", "path": "Location.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Indicates the type of function performed at the location.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType" } } }, { "id": "Location.telecom", "path": "Location.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Location.address", "path": "Location.address", "min": 0, "max": "1", "type": [ { "code": "Address" } ] }, { "id": "Location.physicalType", "path": "Location.physicalType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Physical form of the location", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/location-physical-type" } } }, { "id": "Location.position", "path": "Location.position", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Location.position.id", "path": "Location.position.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Location.position.extension", "path": "Location.position.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Location.position.modifierExtension", "path": "Location.position.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Location.position.longitude", "path": "Location.position.longitude", "min": 1, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Location.position.latitude", "path": "Location.position.latitude", "min": 1, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Location.position.altitude", "path": "Location.position.altitude", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Location.managingOrganization", "path": "Location.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Location.partOf", "path": "Location.partOf", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Location.endpoint", "path": "Location.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] } ] }, "differential": { "element": [ { "id": "Location", "path": "Location", "min": 0, "max": "*" }, { "id": "Location.identifier", "path": "Location.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Location.status", "path": "Location.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether the location is still in use.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/location-status" } } }, { "id": "Location.name", "path": "Location.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Location.alias", "path": "Location.alias", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "Location.description", "path": "Location.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Location.mode", "path": "Location.mode", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates whether a resource instance represents a specific location or a class of locations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/location-mode" } } }, { "id": "Location.type", "path": "Location.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Indicates the type of function performed at the location.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType" } } }, { "id": "Location.telecom", "path": "Location.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Location.address", "path": "Location.address", "min": 0, "max": "1", "type": [ { "code": "Address" } ] }, { "id": "Location.physicalType", "path": "Location.physicalType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Physical form of the location", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/location-physical-type" } } }, { "id": "Location.position", "path": "Location.position", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Location.position.longitude", "path": "Location.position.longitude", "min": 1, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Location.position.latitude", "path": "Location.position.latitude", "min": 1, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Location.position.altitude", "path": "Location.position.altitude", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "Location.managingOrganization", "path": "Location.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Location.partOf", "path": "Location.partOf", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Location.endpoint", "path": "Location.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Measure", "resource": { "resourceType": "StructureDefinition", "id": "Measure", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cqi" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical Reasoning" } ], "url": "http://hl7.org/fhir/StructureDefinition/Measure", "name": "Measure", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Measure", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "Measure", "path": "Measure", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Measure.id", "path": "Measure.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Measure.meta", "path": "Measure.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Measure.implicitRules", "path": "Measure.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Measure.language", "path": "Measure.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Measure.text", "path": "Measure.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Measure.contained", "path": "Measure.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Measure.extension", "path": "Measure.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Measure.modifierExtension", "path": "Measure.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Measure.url", "path": "Measure.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Measure.identifier", "path": "Measure.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Measure.version", "path": "Measure.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.name", "path": "Measure.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.title", "path": "Measure.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.status", "path": "Measure.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "Measure.experimental", "path": "Measure.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "Measure.date", "path": "Measure.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Measure.description", "path": "Measure.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Measure.purpose", "path": "Measure.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Measure.usage", "path": "Measure.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.approvalDate", "path": "Measure.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Measure.lastReviewDate", "path": "Measure.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Measure.effectivePeriod", "path": "Measure.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Measure.useContext", "path": "Measure.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "Measure.jurisdiction", "path": "Measure.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "Measure.topic", "path": "Measure.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "Measure.contributor", "path": "Measure.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "Measure.publisher", "path": "Measure.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.contact", "path": "Measure.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "Measure.copyright", "path": "Measure.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Measure.relatedArtifact", "path": "Measure.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "Measure.library", "path": "Measure.library", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Library" } ] }, { "id": "Measure.disclaimer", "path": "Measure.disclaimer", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.scoring", "path": "Measure.scoring", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The scoring type of the measure", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-scoring" } } }, { "id": "Measure.compositeScoring", "path": "Measure.compositeScoring", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The composite scoring method of the measure", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composite-measure-scoring" } } }, { "id": "Measure.type", "path": "Measure.type", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of measure (includes codes from 2.16.840.1.113883.1.11.20368)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-type" } } }, { "id": "Measure.riskAdjustment", "path": "Measure.riskAdjustment", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.rateAggregation", "path": "Measure.rateAggregation", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.rationale", "path": "Measure.rationale", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.clinicalRecommendationStatement", "path": "Measure.clinicalRecommendationStatement", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.improvementNotation", "path": "Measure.improvementNotation", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.definition", "path": "Measure.definition", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.guidance", "path": "Measure.guidance", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.set", "path": "Measure.set", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.group", "path": "Measure.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Measure.group.id", "path": "Measure.group.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Measure.group.extension", "path": "Measure.group.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Measure.group.modifierExtension", "path": "Measure.group.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Measure.group.identifier", "path": "Measure.group.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Measure.group.name", "path": "Measure.group.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.description", "path": "Measure.group.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.population", "path": "Measure.group.population", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Measure.group.population.id", "path": "Measure.group.population.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Measure.group.population.extension", "path": "Measure.group.population.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Measure.group.population.modifierExtension", "path": "Measure.group.population.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Measure.group.population.type", "path": "Measure.group.population.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of population", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-population" } } }, { "id": "Measure.group.population.identifier", "path": "Measure.group.population.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Measure.group.population.name", "path": "Measure.group.population.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.population.description", "path": "Measure.group.population.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.population.criteria", "path": "Measure.group.population.criteria", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.stratifier", "path": "Measure.group.stratifier", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Measure.group.stratifier.id", "path": "Measure.group.stratifier.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Measure.group.stratifier.extension", "path": "Measure.group.stratifier.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Measure.group.stratifier.modifierExtension", "path": "Measure.group.stratifier.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Measure.group.stratifier.identifier", "path": "Measure.group.stratifier.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Measure.group.stratifier.criteria", "path": "Measure.group.stratifier.criteria", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.stratifier.path", "path": "Measure.group.stratifier.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.supplementalData", "path": "Measure.supplementalData", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Measure.supplementalData.id", "path": "Measure.supplementalData.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Measure.supplementalData.extension", "path": "Measure.supplementalData.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Measure.supplementalData.modifierExtension", "path": "Measure.supplementalData.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Measure.supplementalData.identifier", "path": "Measure.supplementalData.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Measure.supplementalData.usage", "path": "Measure.supplementalData.usage", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The intended usage for supplemental data elements in the measure", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-data-usage" } } }, { "id": "Measure.supplementalData.criteria", "path": "Measure.supplementalData.criteria", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.supplementalData.path", "path": "Measure.supplementalData.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "Measure", "path": "Measure", "min": 0, "max": "*" }, { "id": "Measure.url", "path": "Measure.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Measure.identifier", "path": "Measure.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Measure.version", "path": "Measure.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.name", "path": "Measure.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.title", "path": "Measure.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.status", "path": "Measure.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "Measure.experimental", "path": "Measure.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "Measure.date", "path": "Measure.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Measure.description", "path": "Measure.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Measure.purpose", "path": "Measure.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Measure.usage", "path": "Measure.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.approvalDate", "path": "Measure.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Measure.lastReviewDate", "path": "Measure.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "Measure.effectivePeriod", "path": "Measure.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Measure.useContext", "path": "Measure.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "Measure.jurisdiction", "path": "Measure.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "Measure.topic", "path": "Measure.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "Measure.contributor", "path": "Measure.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "Measure.publisher", "path": "Measure.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.contact", "path": "Measure.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "Measure.copyright", "path": "Measure.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "Measure.relatedArtifact", "path": "Measure.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "Measure.library", "path": "Measure.library", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Library" } ] }, { "id": "Measure.disclaimer", "path": "Measure.disclaimer", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.scoring", "path": "Measure.scoring", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The scoring type of the measure", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-scoring" } } }, { "id": "Measure.compositeScoring", "path": "Measure.compositeScoring", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The composite scoring method of the measure", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composite-measure-scoring" } } }, { "id": "Measure.type", "path": "Measure.type", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of measure (includes codes from 2.16.840.1.113883.1.11.20368)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-type" } } }, { "id": "Measure.riskAdjustment", "path": "Measure.riskAdjustment", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.rateAggregation", "path": "Measure.rateAggregation", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.rationale", "path": "Measure.rationale", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.clinicalRecommendationStatement", "path": "Measure.clinicalRecommendationStatement", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.improvementNotation", "path": "Measure.improvementNotation", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.definition", "path": "Measure.definition", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.guidance", "path": "Measure.guidance", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "Measure.set", "path": "Measure.set", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Measure.group", "path": "Measure.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Measure.group.identifier", "path": "Measure.group.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Measure.group.name", "path": "Measure.group.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.description", "path": "Measure.group.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.population", "path": "Measure.group.population", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Measure.group.population.type", "path": "Measure.group.population.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of population", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-population" } } }, { "id": "Measure.group.population.identifier", "path": "Measure.group.population.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Measure.group.population.name", "path": "Measure.group.population.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.population.description", "path": "Measure.group.population.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.population.criteria", "path": "Measure.group.population.criteria", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.stratifier", "path": "Measure.group.stratifier", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Measure.group.stratifier.identifier", "path": "Measure.group.stratifier.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Measure.group.stratifier.criteria", "path": "Measure.group.stratifier.criteria", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.group.stratifier.path", "path": "Measure.group.stratifier.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.supplementalData", "path": "Measure.supplementalData", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Measure.supplementalData.identifier", "path": "Measure.supplementalData.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "Measure.supplementalData.usage", "path": "Measure.supplementalData.usage", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The intended usage for supplemental data elements in the measure", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-data-usage" } } }, { "id": "Measure.supplementalData.criteria", "path": "Measure.supplementalData.criteria", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Measure.supplementalData.path", "path": "Measure.supplementalData.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/MeasureReport", "resource": { "resourceType": "StructureDefinition", "id": "MeasureReport", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cqi" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical Reasoning" } ], "url": "http://hl7.org/fhir/StructureDefinition/MeasureReport", "name": "MeasureReport", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "MeasureReport", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "MeasureReport", "path": "MeasureReport", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "MeasureReport.id", "path": "MeasureReport.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MeasureReport.meta", "path": "MeasureReport.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "MeasureReport.implicitRules", "path": "MeasureReport.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "MeasureReport.language", "path": "MeasureReport.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "MeasureReport.text", "path": "MeasureReport.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "MeasureReport.contained", "path": "MeasureReport.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "MeasureReport.extension", "path": "MeasureReport.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MeasureReport.modifierExtension", "path": "MeasureReport.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "MeasureReport.measure", "path": "MeasureReport.measure", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Measure" } ], "isSummary": true }, { "id": "MeasureReport.type", "path": "MeasureReport.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of the measure report", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-report-type" } } }, { "id": "MeasureReport.patient", "path": "MeasureReport.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "MeasureReport.period", "path": "MeasureReport.period", "min": 1, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "MeasureReport.status", "path": "MeasureReport.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The status of the measure report", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-report-status" } } }, { "id": "MeasureReport.date", "path": "MeasureReport.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MeasureReport.reportingOrganization", "path": "MeasureReport.reportingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "MeasureReport.group", "path": "MeasureReport.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": false }, { "id": "MeasureReport.group.id", "path": "MeasureReport.group.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MeasureReport.group.extension", "path": "MeasureReport.group.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MeasureReport.group.modifierExtension", "path": "MeasureReport.group.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MeasureReport.group.identifier", "path": "MeasureReport.group.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": false }, { "id": "MeasureReport.group.population", "path": "MeasureReport.group.population", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": false }, { "id": "MeasureReport.group.population.id", "path": "MeasureReport.group.population.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MeasureReport.group.population.extension", "path": "MeasureReport.group.population.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MeasureReport.group.population.modifierExtension", "path": "MeasureReport.group.population.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MeasureReport.group.population.type", "path": "MeasureReport.group.population.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": false, "binding": { "strength": "required", "description": "The type of population (e.g. initial, numerator, denominator, etc.)", "valueSetUri": "http://hl7.org/fhir/ValueSet/measure-population" } }, { "id": "MeasureReport.group.population.count", "path": "MeasureReport.group.population.count", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": false }, { "id": "MeasureReport.group.population.patients", "path": "MeasureReport.group.population.patients", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/List" } ], "isSummary": false }, { "id": "MeasureReport.group.measureScore", "path": "MeasureReport.group.measureScore", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier", "path": "MeasureReport.group.stratifier", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.id", "path": "MeasureReport.group.stratifier.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MeasureReport.group.stratifier.extension", "path": "MeasureReport.group.stratifier.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MeasureReport.group.stratifier.modifierExtension", "path": "MeasureReport.group.stratifier.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MeasureReport.group.stratifier.identifier", "path": "MeasureReport.group.stratifier.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "StratifierGroup" } ], "path": "MeasureReport.group.stratifier.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.id", "path": "MeasureReport.group.stratifier.group.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MeasureReport.group.stratifier.group.extension", "path": "MeasureReport.group.stratifier.group.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MeasureReport.group.stratifier.group.modifierExtension", "path": "MeasureReport.group.stratifier.group.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MeasureReport.group.stratifier.group.value", "path": "MeasureReport.group.stratifier.group.value", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.population", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "StratifierGroupPopulation" } ], "path": "MeasureReport.group.stratifier.group.population", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.population.id", "path": "MeasureReport.group.stratifier.group.population.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MeasureReport.group.stratifier.group.population.extension", "path": "MeasureReport.group.stratifier.group.population.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MeasureReport.group.stratifier.group.population.modifierExtension", "path": "MeasureReport.group.stratifier.group.population.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MeasureReport.group.stratifier.group.population.type", "path": "MeasureReport.group.stratifier.group.population.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": false, "binding": { "strength": "required", "description": "The type of population (e.g. initial, numerator, denominator, etc.)", "valueSetUri": "http://hl7.org/fhir/ValueSet/measure-population" } }, { "id": "MeasureReport.group.stratifier.group.population.count", "path": "MeasureReport.group.stratifier.group.population.count", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.population.patients", "path": "MeasureReport.group.stratifier.group.population.patients", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/List" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.measureScore", "path": "MeasureReport.group.stratifier.group.measureScore", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData", "path": "MeasureReport.group.supplementalData", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.id", "path": "MeasureReport.group.supplementalData.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MeasureReport.group.supplementalData.extension", "path": "MeasureReport.group.supplementalData.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MeasureReport.group.supplementalData.modifierExtension", "path": "MeasureReport.group.supplementalData.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MeasureReport.group.supplementalData.identifier", "path": "MeasureReport.group.supplementalData.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.group", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SupplementalDataGroup" } ], "path": "MeasureReport.group.supplementalData.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.group.id", "path": "MeasureReport.group.supplementalData.group.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MeasureReport.group.supplementalData.group.extension", "path": "MeasureReport.group.supplementalData.group.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MeasureReport.group.supplementalData.group.modifierExtension", "path": "MeasureReport.group.supplementalData.group.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MeasureReport.group.supplementalData.group.value", "path": "MeasureReport.group.supplementalData.group.value", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.group.count", "path": "MeasureReport.group.supplementalData.group.count", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.group.patients", "path": "MeasureReport.group.supplementalData.group.patients", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/List" } ], "isSummary": false }, { "id": "MeasureReport.evaluatedResources", "path": "MeasureReport.evaluatedResources", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Bundle" } ], "isSummary": false } ] }, "differential": { "element": [ { "id": "MeasureReport", "path": "MeasureReport", "min": 0, "max": "*" }, { "id": "MeasureReport.measure", "path": "MeasureReport.measure", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Measure" } ], "isSummary": true }, { "id": "MeasureReport.type", "path": "MeasureReport.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of the measure report", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-report-type" } } }, { "id": "MeasureReport.patient", "path": "MeasureReport.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "MeasureReport.period", "path": "MeasureReport.period", "min": 1, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "MeasureReport.status", "path": "MeasureReport.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The status of the measure report", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/measure-report-status" } } }, { "id": "MeasureReport.date", "path": "MeasureReport.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MeasureReport.reportingOrganization", "path": "MeasureReport.reportingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "MeasureReport.group", "path": "MeasureReport.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": false }, { "id": "MeasureReport.group.identifier", "path": "MeasureReport.group.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": false }, { "id": "MeasureReport.group.population", "path": "MeasureReport.group.population", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": false }, { "id": "MeasureReport.group.population.type", "path": "MeasureReport.group.population.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": false, "binding": { "strength": "required", "description": "The type of population (e.g. initial, numerator, denominator, etc.)", "valueSetUri": "http://hl7.org/fhir/ValueSet/measure-population" } }, { "id": "MeasureReport.group.population.count", "path": "MeasureReport.group.population.count", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": false }, { "id": "MeasureReport.group.population.patients", "path": "MeasureReport.group.population.patients", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/List" } ], "isSummary": false }, { "id": "MeasureReport.group.measureScore", "path": "MeasureReport.group.measureScore", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier", "path": "MeasureReport.group.stratifier", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.identifier", "path": "MeasureReport.group.stratifier.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "StratifierGroup" } ], "path": "MeasureReport.group.stratifier.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.value", "path": "MeasureReport.group.stratifier.group.value", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.population", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "StratifierGroupPopulation" } ], "path": "MeasureReport.group.stratifier.group.population", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.population.type", "path": "MeasureReport.group.stratifier.group.population.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": false, "binding": { "strength": "required", "description": "The type of population (e.g. initial, numerator, denominator, etc.)", "valueSetUri": "http://hl7.org/fhir/ValueSet/measure-population" } }, { "id": "MeasureReport.group.stratifier.group.population.count", "path": "MeasureReport.group.stratifier.group.population.count", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.population.patients", "path": "MeasureReport.group.stratifier.group.population.patients", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/List" } ], "isSummary": false }, { "id": "MeasureReport.group.stratifier.group.measureScore", "path": "MeasureReport.group.stratifier.group.measureScore", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData", "path": "MeasureReport.group.supplementalData", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.identifier", "path": "MeasureReport.group.supplementalData.identifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.group", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SupplementalDataGroup" } ], "path": "MeasureReport.group.supplementalData.group", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.group.value", "path": "MeasureReport.group.supplementalData.group.value", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.group.count", "path": "MeasureReport.group.supplementalData.group.count", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": false }, { "id": "MeasureReport.group.supplementalData.group.patients", "path": "MeasureReport.group.supplementalData.group.patients", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/List" } ], "isSummary": false }, { "id": "MeasureReport.evaluatedResources", "path": "MeasureReport.evaluatedResources", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Bundle" } ], "isSummary": false } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Media", "resource": { "resourceType": "StructureDefinition", "id": "Media", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Infrastructure/Exchange" } ], "url": "http://hl7.org/fhir/StructureDefinition/Media", "name": "Media", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Media", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Media", "path": "Media", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "mda-1", "severity": "error", "human": "Height can only be used for a photo or video", "expression": "height.empty() or type != 'audio'", "xpath": "not(f:type/@value='audio') or not(f:height)" }, { "key": "mda-2", "severity": "error", "human": "Width can only be used for a photo or video", "expression": "width.empty() or type != 'audio'", "xpath": "not(f:type/@value='audio') or not(f:width)" }, { "key": "mda-3", "severity": "error", "human": "Frames can only be used for a photo", "expression": "frames.empty() or type = 'photo'", "xpath": "(f:type/@value='photo') or not(f:frames)" }, { "key": "mda-4", "severity": "error", "human": "Duration can only be used for an audio or a video", "expression": "duration.empty() or type != 'photo'", "xpath": "not(f:type/@value='photo') or not(f:duration)" } ] }, { "id": "Media.id", "path": "Media.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Media.meta", "path": "Media.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Media.implicitRules", "path": "Media.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Media.language", "path": "Media.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Media.text", "path": "Media.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Media.contained", "path": "Media.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Media.extension", "path": "Media.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Media.modifierExtension", "path": "Media.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Media.identifier", "path": "Media.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Media.type", "path": "Media.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Whether the Media is a photo, video, or audio", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/digital-media-type" } } }, { "id": "Media.subtype", "path": "Media.subtype", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/digital-media-subtype" } } }, { "id": "Media.view", "path": "Media.view", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Imaging view (projection) used when collecting an image", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/media-view" } } }, { "id": "Media.subject", "path": "Media.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ], "isSummary": true }, { "id": "Media.operator", "path": "Media.operator", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "Media.deviceName", "path": "Media.deviceName", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Media.height", "path": "Media.height", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "condition": [ "mda-1" ], "isSummary": true }, { "id": "Media.width", "path": "Media.width", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "condition": [ "mda-2" ], "isSummary": true }, { "id": "Media.frames", "path": "Media.frames", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "defaultValuePositiveInt": 1, "condition": [ "mda-3" ], "isSummary": true }, { "id": "Media.duration", "path": "Media.duration", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "condition": [ "mda-4" ], "isSummary": true }, { "id": "Media.content", "path": "Media.content", "min": 1, "max": "1", "type": [ { "code": "Attachment" } ] } ] }, "differential": { "element": [ { "id": "Media", "path": "Media", "min": 0, "max": "*", "constraint": [ { "key": "mda-1", "severity": "error", "human": "Height can only be used for a photo or video", "expression": "height.empty() or type != 'audio'", "xpath": "not(f:type/@value='audio') or not(f:height)" }, { "key": "mda-2", "severity": "error", "human": "Width can only be used for a photo or video", "expression": "width.empty() or type != 'audio'", "xpath": "not(f:type/@value='audio') or not(f:width)" }, { "key": "mda-3", "severity": "error", "human": "Frames can only be used for a photo", "expression": "frames.empty() or type = 'photo'", "xpath": "(f:type/@value='photo') or not(f:frames)" }, { "key": "mda-4", "severity": "error", "human": "Duration can only be used for an audio or a video", "expression": "duration.empty() or type != 'photo'", "xpath": "not(f:type/@value='photo') or not(f:duration)" } ] }, { "id": "Media.identifier", "path": "Media.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Media.type", "path": "Media.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Whether the Media is a photo, video, or audio", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/digital-media-type" } } }, { "id": "Media.subtype", "path": "Media.subtype", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/digital-media-subtype" } } }, { "id": "Media.view", "path": "Media.view", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Imaging view (projection) used when collecting an image", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/media-view" } } }, { "id": "Media.subject", "path": "Media.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ], "isSummary": true }, { "id": "Media.operator", "path": "Media.operator", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "Media.deviceName", "path": "Media.deviceName", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Media.height", "path": "Media.height", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "condition": [ "mda-1" ], "isSummary": true }, { "id": "Media.width", "path": "Media.width", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "condition": [ "mda-2" ], "isSummary": true }, { "id": "Media.frames", "path": "Media.frames", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "defaultValuePositiveInt": 1, "condition": [ "mda-3" ], "isSummary": true }, { "id": "Media.duration", "path": "Media.duration", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "condition": [ "mda-4" ], "isSummary": true }, { "id": "Media.content", "path": "Media.content", "min": 1, "max": "1", "type": [ { "code": "Attachment" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Medication", "resource": { "resourceType": "StructureDefinition", "id": "Medication", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "phx" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Medication & Immunization" } ], "url": "http://hl7.org/fhir/StructureDefinition/Medication", "name": "Medication", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Medication", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Medication", "path": "Medication", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Medication.id", "path": "Medication.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Medication.meta", "path": "Medication.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Medication.implicitRules", "path": "Medication.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Medication.language", "path": "Medication.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Medication.text", "path": "Medication.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Medication.contained", "path": "Medication.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Medication.extension", "path": "Medication.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Medication.modifierExtension", "path": "Medication.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Medication.code", "path": "Medication.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept that defines the type of a medication", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "Medication.isBrand", "path": "Medication.isBrand", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "Medication.manufacturer", "path": "Medication.manufacturer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Medication.product", "path": "Medication.product", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Medication.product.id", "path": "Medication.product.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Medication.product.extension", "path": "Medication.product.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Medication.product.modifierExtension", "path": "Medication.product.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Medication.product.form", "path": "Medication.product.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept defining the form of a medication", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-form-codes" } } }, { "id": "Medication.product.ingredient", "path": "Medication.product.ingredient", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Medication.product.ingredient.id", "path": "Medication.product.ingredient.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Medication.product.ingredient.extension", "path": "Medication.product.ingredient.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Medication.product.ingredient.modifierExtension", "path": "Medication.product.ingredient.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Medication.product.ingredient.item[x]", "path": "Medication.product.ingredient.item[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ] }, { "id": "Medication.product.ingredient.amount", "path": "Medication.product.ingredient.amount", "min": 0, "max": "1", "type": [ { "code": "Ratio" } ] }, { "id": "Medication.product.batch", "path": "Medication.product.batch", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Medication.product.batch.id", "path": "Medication.product.batch.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Medication.product.batch.extension", "path": "Medication.product.batch.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Medication.product.batch.modifierExtension", "path": "Medication.product.batch.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Medication.product.batch.lotNumber", "path": "Medication.product.batch.lotNumber", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Medication.product.batch.expirationDate", "path": "Medication.product.batch.expirationDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Medication.package", "path": "Medication.package", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Medication.package.id", "path": "Medication.package.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Medication.package.extension", "path": "Medication.package.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Medication.package.modifierExtension", "path": "Medication.package.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Medication.package.container", "path": "Medication.package.container", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept defining the kind of container a medication package is packaged in", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-package-form-codes" } } }, { "id": "Medication.package.content", "path": "Medication.package.content", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Medication.package.content.id", "path": "Medication.package.content.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Medication.package.content.extension", "path": "Medication.package.content.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Medication.package.content.modifierExtension", "path": "Medication.package.content.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Medication.package.content.item[x]", "path": "Medication.package.content.item[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ] }, { "id": "Medication.package.content.amount", "path": "Medication.package.content.amount", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] } ] }, "differential": { "element": [ { "id": "Medication", "path": "Medication", "min": 0, "max": "*" }, { "id": "Medication.code", "path": "Medication.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept that defines the type of a medication", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "Medication.isBrand", "path": "Medication.isBrand", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "Medication.manufacturer", "path": "Medication.manufacturer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Medication.product", "path": "Medication.product", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Medication.product.form", "path": "Medication.product.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept defining the form of a medication", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-form-codes" } } }, { "id": "Medication.product.ingredient", "path": "Medication.product.ingredient", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Medication.product.ingredient.item[x]", "path": "Medication.product.ingredient.item[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ] }, { "id": "Medication.product.ingredient.amount", "path": "Medication.product.ingredient.amount", "min": 0, "max": "1", "type": [ { "code": "Ratio" } ] }, { "id": "Medication.product.batch", "path": "Medication.product.batch", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Medication.product.batch.lotNumber", "path": "Medication.product.batch.lotNumber", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Medication.product.batch.expirationDate", "path": "Medication.product.batch.expirationDate", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "Medication.package", "path": "Medication.package", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Medication.package.container", "path": "Medication.package.container", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept defining the kind of container a medication package is packaged in", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-package-form-codes" } } }, { "id": "Medication.package.content", "path": "Medication.package.content", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Medication.package.content.item[x]", "path": "Medication.package.content.item[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ] }, { "id": "Medication.package.content.amount", "path": "Medication.package.content.amount", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", "resource": { "resourceType": "StructureDefinition", "id": "MedicationAdministration", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "phx" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Medication & Immunization" } ], "url": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", "name": "MedicationAdministration", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "MedicationAdministration", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "MedicationAdministration", "path": "MedicationAdministration", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "mad-2", "severity": "error", "human": "Reason not given is only permitted if NotGiven is true", "expression": "reasonNotGiven.empty() or notGiven = true", "xpath": "not(exists(f:reasonNotGiven) and f:notGiven/@value=false())" }, { "key": "mad-3", "severity": "error", "human": "Reason given is only permitted if NotGiven is false", "expression": "reasonGiven.empty() or notGiven.empty() or notGiven = 'false'", "xpath": "not(exists(f:reasonGiven) and f:notGiven/@value=true())" } ] }, { "id": "MedicationAdministration.id", "path": "MedicationAdministration.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MedicationAdministration.meta", "path": "MedicationAdministration.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "MedicationAdministration.implicitRules", "path": "MedicationAdministration.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "MedicationAdministration.language", "path": "MedicationAdministration.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "MedicationAdministration.text", "path": "MedicationAdministration.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "MedicationAdministration.contained", "path": "MedicationAdministration.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "MedicationAdministration.extension", "path": "MedicationAdministration.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MedicationAdministration.modifierExtension", "path": "MedicationAdministration.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "MedicationAdministration.identifier", "path": "MedicationAdministration.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "MedicationAdministration.status", "path": "MedicationAdministration.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A set of codes indicating the current status of a MedicationAdministration.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-admin-status" } } }, { "id": "MedicationAdministration.medication[x]", "path": "MedicationAdministration.medication[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes identifying substance or product that can be administered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "MedicationAdministration.patient", "path": "MedicationAdministration.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "MedicationAdministration.encounter", "path": "MedicationAdministration.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "MedicationAdministration.supportingInformation", "path": "MedicationAdministration.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "MedicationAdministration.effective[x]", "path": "MedicationAdministration.effective[x]", "min": 1, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "MedicationAdministration.performer", "path": "MedicationAdministration.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "MedicationAdministration.reasonReference", "path": "MedicationAdministration.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "MedicationAdministration.prescription", "path": "MedicationAdministration.prescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "MedicationAdministration.notGiven", "path": "MedicationAdministration.notGiven", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "meaningWhenMissing": "If this is missing, then the medication was administered", "isModifier": true, "isSummary": true }, { "id": "MedicationAdministration.reasonNotGiven", "path": "MedicationAdministration.reasonNotGiven", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "condition": [ "mad-2" ], "binding": { "strength": "example", "description": "A set of codes indicating the reason why the MedicationAdministration is negated.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes" } } }, { "id": "MedicationAdministration.reasonGiven", "path": "MedicationAdministration.reasonGiven", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "condition": [ "mad-3" ], "binding": { "strength": "example", "description": "A set of codes indicating the reason why the MedicationAdministration was made.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reason-medication-given-codes" } } }, { "id": "MedicationAdministration.device", "path": "MedicationAdministration.device", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "MedicationAdministration.note", "path": "MedicationAdministration.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "MedicationAdministration.dosage", "path": "MedicationAdministration.dosage", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "mad-1", "severity": "error", "human": "SHALL have at least one of dosage.dose and dosage.rate[x]", "expression": "dose.exists() or rate.exists()", "xpath": "exists(f:dose) or exists(f:rateRatio) or exists(f:rateRange)" } ] }, { "id": "MedicationAdministration.dosage.id", "path": "MedicationAdministration.dosage.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MedicationAdministration.dosage.extension", "path": "MedicationAdministration.dosage.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MedicationAdministration.dosage.modifierExtension", "path": "MedicationAdministration.dosage.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MedicationAdministration.dosage.text", "path": "MedicationAdministration.dosage.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "MedicationAdministration.dosage.site", "path": "MedicationAdministration.dosage.site", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the site location the medicine enters into or onto the body.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/approach-site-codes" } } }, { "id": "MedicationAdministration.dosage.route", "path": "MedicationAdministration.dosage.route", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/route-codes" } } }, { "id": "MedicationAdministration.dosage.method", "path": "MedicationAdministration.dosage.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the technique by which the medicine is administered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administration-method-codes" } } }, { "id": "MedicationAdministration.dosage.dose", "path": "MedicationAdministration.dosage.dose", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationAdministration.dosage.rate[x]", "path": "MedicationAdministration.dosage.rate[x]", "min": 0, "max": "1", "type": [ { "code": "Ratio" }, { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationAdministration.eventHistory", "path": "MedicationAdministration.eventHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] }, "differential": { "element": [ { "id": "MedicationAdministration", "path": "MedicationAdministration", "min": 0, "max": "*", "constraint": [ { "key": "mad-2", "severity": "error", "human": "Reason not given is only permitted if NotGiven is true", "expression": "reasonNotGiven.empty() or notGiven = true", "xpath": "not(exists(f:reasonNotGiven) and f:notGiven/@value=false())" }, { "key": "mad-3", "severity": "error", "human": "Reason given is only permitted if NotGiven is false", "expression": "reasonGiven.empty() or notGiven.empty() or notGiven = 'false'", "xpath": "not(exists(f:reasonGiven) and f:notGiven/@value=true())" } ] }, { "id": "MedicationAdministration.identifier", "path": "MedicationAdministration.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "MedicationAdministration.status", "path": "MedicationAdministration.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A set of codes indicating the current status of a MedicationAdministration.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-admin-status" } } }, { "id": "MedicationAdministration.medication[x]", "path": "MedicationAdministration.medication[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes identifying substance or product that can be administered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "MedicationAdministration.patient", "path": "MedicationAdministration.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "MedicationAdministration.encounter", "path": "MedicationAdministration.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "MedicationAdministration.supportingInformation", "path": "MedicationAdministration.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "MedicationAdministration.effective[x]", "path": "MedicationAdministration.effective[x]", "min": 1, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "MedicationAdministration.performer", "path": "MedicationAdministration.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "MedicationAdministration.reasonReference", "path": "MedicationAdministration.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "MedicationAdministration.prescription", "path": "MedicationAdministration.prescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "MedicationAdministration.notGiven", "path": "MedicationAdministration.notGiven", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "meaningWhenMissing": "If this is missing, then the medication was administered", "isModifier": true, "isSummary": true }, { "id": "MedicationAdministration.reasonNotGiven", "path": "MedicationAdministration.reasonNotGiven", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "condition": [ "mad-2" ], "binding": { "strength": "example", "description": "A set of codes indicating the reason why the MedicationAdministration is negated.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes" } } }, { "id": "MedicationAdministration.reasonGiven", "path": "MedicationAdministration.reasonGiven", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "condition": [ "mad-3" ], "binding": { "strength": "example", "description": "A set of codes indicating the reason why the MedicationAdministration was made.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reason-medication-given-codes" } } }, { "id": "MedicationAdministration.device", "path": "MedicationAdministration.device", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "MedicationAdministration.note", "path": "MedicationAdministration.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "MedicationAdministration.dosage", "path": "MedicationAdministration.dosage", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "mad-1", "severity": "error", "human": "SHALL have at least one of dosage.dose and dosage.rate[x]", "expression": "dose.exists() or rate.exists()", "xpath": "exists(f:dose) or exists(f:rateRatio) or exists(f:rateRange)" } ] }, { "id": "MedicationAdministration.dosage.text", "path": "MedicationAdministration.dosage.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "MedicationAdministration.dosage.site", "path": "MedicationAdministration.dosage.site", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the site location the medicine enters into or onto the body.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/approach-site-codes" } } }, { "id": "MedicationAdministration.dosage.route", "path": "MedicationAdministration.dosage.route", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/route-codes" } } }, { "id": "MedicationAdministration.dosage.method", "path": "MedicationAdministration.dosage.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the technique by which the medicine is administered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administration-method-codes" } } }, { "id": "MedicationAdministration.dosage.dose", "path": "MedicationAdministration.dosage.dose", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationAdministration.dosage.rate[x]", "path": "MedicationAdministration.dosage.rate[x]", "min": 0, "max": "1", "type": [ { "code": "Ratio" }, { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationAdministration.eventHistory", "path": "MedicationAdministration.eventHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/MedicationDispense", "resource": { "resourceType": "StructureDefinition", "id": "MedicationDispense", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "phx" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Medication & Immunization" } ], "url": "http://hl7.org/fhir/StructureDefinition/MedicationDispense", "name": "MedicationDispense", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "MedicationDispense", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "MedicationDispense", "path": "MedicationDispense", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "mdd-1", "severity": "error", "human": "whenHandedOver cannot be before whenPrepared", "expression": "whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared", "xpath": "not(exists(f:whenHandedOver/@value)) or not(exists(f:whenPrepared/@value)) or ( f:whenHandedOver/@value >= f:whenPrepared/@value)" } ] }, { "id": "MedicationDispense.id", "path": "MedicationDispense.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MedicationDispense.meta", "path": "MedicationDispense.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "MedicationDispense.implicitRules", "path": "MedicationDispense.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "MedicationDispense.language", "path": "MedicationDispense.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "MedicationDispense.text", "path": "MedicationDispense.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "MedicationDispense.contained", "path": "MedicationDispense.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "MedicationDispense.extension", "path": "MedicationDispense.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MedicationDispense.modifierExtension", "path": "MedicationDispense.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "MedicationDispense.identifier", "path": "MedicationDispense.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "MedicationDispense.status", "path": "MedicationDispense.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A coded concept specifying the state of the dispense event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-dispense-status" } } }, { "id": "MedicationDispense.medication[x]", "path": "MedicationDispense.medication[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept identifying which substance or product can be dispensed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "MedicationDispense.patient", "path": "MedicationDispense.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "MedicationDispense.supportingInformation", "path": "MedicationDispense.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "MedicationDispense.dispenser", "path": "MedicationDispense.dispenser", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "MedicationDispense.dispensingOrganization", "path": "MedicationDispense.dispensingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "MedicationDispense.authorizingPrescription", "path": "MedicationDispense.authorizingPrescription", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "MedicationDispense.type", "path": "MedicationDispense.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType" } } }, { "id": "MedicationDispense.quantity", "path": "MedicationDispense.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationDispense.daysSupply", "path": "MedicationDispense.daysSupply", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationDispense.whenPrepared", "path": "MedicationDispense.whenPrepared", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MedicationDispense.whenHandedOver", "path": "MedicationDispense.whenHandedOver", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "MedicationDispense.destination", "path": "MedicationDispense.destination", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "MedicationDispense.receiver", "path": "MedicationDispense.receiver", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "MedicationDispense.note", "path": "MedicationDispense.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "MedicationDispense.dosageInstruction", "path": "MedicationDispense.dosageInstruction", "min": 0, "max": "*", "type": [ { "code": "DosageInstruction" } ] }, { "id": "MedicationDispense.substitution", "path": "MedicationDispense.substitution", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "MedicationDispense.substitution.id", "path": "MedicationDispense.substitution.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MedicationDispense.substitution.extension", "path": "MedicationDispense.substitution.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MedicationDispense.substitution.modifierExtension", "path": "MedicationDispense.substitution.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MedicationDispense.substitution.type", "path": "MedicationDispense.substitution.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode" } } }, { "id": "MedicationDispense.substitution.reason", "path": "MedicationDispense.substitution.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason" } } }, { "id": "MedicationDispense.substitution.responsibleParty", "path": "MedicationDispense.substitution.responsibleParty", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "MedicationDispense.eventHistory", "path": "MedicationDispense.eventHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] }, "differential": { "element": [ { "id": "MedicationDispense", "path": "MedicationDispense", "min": 0, "max": "*", "constraint": [ { "key": "mdd-1", "severity": "error", "human": "whenHandedOver cannot be before whenPrepared", "expression": "whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared", "xpath": "not(exists(f:whenHandedOver/@value)) or not(exists(f:whenPrepared/@value)) or ( f:whenHandedOver/@value >= f:whenPrepared/@value)" } ] }, { "id": "MedicationDispense.identifier", "path": "MedicationDispense.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "MedicationDispense.status", "path": "MedicationDispense.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A coded concept specifying the state of the dispense event.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-dispense-status" } } }, { "id": "MedicationDispense.medication[x]", "path": "MedicationDispense.medication[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept identifying which substance or product can be dispensed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "MedicationDispense.patient", "path": "MedicationDispense.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "MedicationDispense.supportingInformation", "path": "MedicationDispense.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "MedicationDispense.dispenser", "path": "MedicationDispense.dispenser", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "MedicationDispense.dispensingOrganization", "path": "MedicationDispense.dispensingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "MedicationDispense.authorizingPrescription", "path": "MedicationDispense.authorizingPrescription", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "MedicationDispense.type", "path": "MedicationDispense.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType" } } }, { "id": "MedicationDispense.quantity", "path": "MedicationDispense.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationDispense.daysSupply", "path": "MedicationDispense.daysSupply", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationDispense.whenPrepared", "path": "MedicationDispense.whenPrepared", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MedicationDispense.whenHandedOver", "path": "MedicationDispense.whenHandedOver", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "MedicationDispense.destination", "path": "MedicationDispense.destination", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "MedicationDispense.receiver", "path": "MedicationDispense.receiver", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "MedicationDispense.note", "path": "MedicationDispense.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "MedicationDispense.dosageInstruction", "path": "MedicationDispense.dosageInstruction", "min": 0, "max": "*", "type": [ { "code": "DosageInstruction" } ] }, { "id": "MedicationDispense.substitution", "path": "MedicationDispense.substitution", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "MedicationDispense.substitution.type", "path": "MedicationDispense.substitution.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActSubstanceAdminSubstitutionCode" } } }, { "id": "MedicationDispense.substitution.reason", "path": "MedicationDispense.substitution.reason", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason" } } }, { "id": "MedicationDispense.substitution.responsibleParty", "path": "MedicationDispense.substitution.responsibleParty", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "MedicationDispense.eventHistory", "path": "MedicationDispense.eventHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/MedicationRequest", "resource": { "resourceType": "StructureDefinition", "id": "MedicationRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "phx" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Medication & Immunization" } ], "url": "http://hl7.org/fhir/StructureDefinition/MedicationRequest", "name": "MedicationRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "MedicationRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "MedicationRequest", "path": "MedicationRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "MedicationRequest.id", "path": "MedicationRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MedicationRequest.meta", "path": "MedicationRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "MedicationRequest.implicitRules", "path": "MedicationRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "MedicationRequest.language", "path": "MedicationRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "MedicationRequest.text", "path": "MedicationRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "MedicationRequest.contained", "path": "MedicationRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "MedicationRequest.extension", "path": "MedicationRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MedicationRequest.modifierExtension", "path": "MedicationRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "MedicationRequest.identifier", "path": "MedicationRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "MedicationRequest.definition", "path": "MedicationRequest.definition", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" } ], "isSummary": true }, { "id": "MedicationRequest.basedOn", "path": "MedicationRequest.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ], "isSummary": true }, { "id": "MedicationRequest.requisition", "path": "MedicationRequest.requisition", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "MedicationRequest.status", "path": "MedicationRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-request-status" } } }, { "id": "MedicationRequest.stage", "path": "MedicationRequest.stage", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "example", "description": "The kind of medication order", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-request-stage" } } }, { "id": "MedicationRequest.medication[x]", "path": "MedicationRequest.medication[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept identifying substance or product that can be ordered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "MedicationRequest.patient", "path": "MedicationRequest.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "MedicationRequest.context", "path": "MedicationRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ] }, { "id": "MedicationRequest.supportingInformation", "path": "MedicationRequest.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "MedicationRequest.dateWritten", "path": "MedicationRequest.dateWritten", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MedicationRequest.requester", "path": "MedicationRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "MedicationRequest.reasonCode", "path": "MedicationRequest.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept indicating why the medication was ordered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "MedicationRequest.reasonReference", "path": "MedicationRequest.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "MedicationRequest.note", "path": "MedicationRequest.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "MedicationRequest.category", "path": "MedicationRequest.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept identifying where the medication ordered is expected to be consumed or administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-request-category" } } }, { "id": "MedicationRequest.dosageInstruction", "path": "MedicationRequest.dosageInstruction", "min": 0, "max": "*", "type": [ { "code": "DosageInstruction" } ] }, { "id": "MedicationRequest.dispenseRequest", "path": "MedicationRequest.dispenseRequest", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "MedicationRequest.dispenseRequest.id", "path": "MedicationRequest.dispenseRequest.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MedicationRequest.dispenseRequest.extension", "path": "MedicationRequest.dispenseRequest.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MedicationRequest.dispenseRequest.modifierExtension", "path": "MedicationRequest.dispenseRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MedicationRequest.dispenseRequest.validityPeriod", "path": "MedicationRequest.dispenseRequest.validityPeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "MedicationRequest.dispenseRequest.quantity", "path": "MedicationRequest.dispenseRequest.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration", "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", "min": 0, "max": "1", "type": [ { "code": "Duration" } ] }, { "id": "MedicationRequest.dispenseRequest.performer", "path": "MedicationRequest.dispenseRequest.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "MedicationRequest.substitution", "path": "MedicationRequest.substitution", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "MedicationRequest.substitution.id", "path": "MedicationRequest.substitution.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MedicationRequest.substitution.extension", "path": "MedicationRequest.substitution.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MedicationRequest.substitution.modifierExtension", "path": "MedicationRequest.substitution.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MedicationRequest.substitution.allowed", "path": "MedicationRequest.substitution.allowed", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true }, { "id": "MedicationRequest.substitution.reason", "path": "MedicationRequest.substitution.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason" } } }, { "id": "MedicationRequest.priorPrescription", "path": "MedicationRequest.priorPrescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "MedicationRequest.eventHistory", "path": "MedicationRequest.eventHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] }, "differential": { "element": [ { "id": "MedicationRequest", "path": "MedicationRequest", "min": 0, "max": "*" }, { "id": "MedicationRequest.identifier", "path": "MedicationRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "MedicationRequest.definition", "path": "MedicationRequest.definition", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" } ], "isSummary": true }, { "id": "MedicationRequest.basedOn", "path": "MedicationRequest.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ], "isSummary": true }, { "id": "MedicationRequest.requisition", "path": "MedicationRequest.requisition", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "MedicationRequest.status", "path": "MedicationRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-request-status" } } }, { "id": "MedicationRequest.stage", "path": "MedicationRequest.stage", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "example", "description": "The kind of medication order", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-request-stage" } } }, { "id": "MedicationRequest.medication[x]", "path": "MedicationRequest.medication[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept identifying substance or product that can be ordered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "MedicationRequest.patient", "path": "MedicationRequest.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "MedicationRequest.context", "path": "MedicationRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ] }, { "id": "MedicationRequest.supportingInformation", "path": "MedicationRequest.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "MedicationRequest.dateWritten", "path": "MedicationRequest.dateWritten", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MedicationRequest.requester", "path": "MedicationRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "MedicationRequest.reasonCode", "path": "MedicationRequest.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept indicating why the medication was ordered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "MedicationRequest.reasonReference", "path": "MedicationRequest.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "MedicationRequest.note", "path": "MedicationRequest.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "MedicationRequest.category", "path": "MedicationRequest.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept identifying where the medication ordered is expected to be consumed or administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-request-category" } } }, { "id": "MedicationRequest.dosageInstruction", "path": "MedicationRequest.dosageInstruction", "min": 0, "max": "*", "type": [ { "code": "DosageInstruction" } ] }, { "id": "MedicationRequest.dispenseRequest", "path": "MedicationRequest.dispenseRequest", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "MedicationRequest.dispenseRequest.validityPeriod", "path": "MedicationRequest.dispenseRequest.validityPeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "MedicationRequest.dispenseRequest.quantity", "path": "MedicationRequest.dispenseRequest.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration", "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", "min": 0, "max": "1", "type": [ { "code": "Duration" } ] }, { "id": "MedicationRequest.dispenseRequest.performer", "path": "MedicationRequest.dispenseRequest.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "MedicationRequest.substitution", "path": "MedicationRequest.substitution", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "MedicationRequest.substitution.allowed", "path": "MedicationRequest.substitution.allowed", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true }, { "id": "MedicationRequest.substitution.reason", "path": "MedicationRequest.substitution.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason" } } }, { "id": "MedicationRequest.priorPrescription", "path": "MedicationRequest.priorPrescription", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" } ] }, { "id": "MedicationRequest.eventHistory", "path": "MedicationRequest.eventHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/MedicationStatement", "resource": { "resourceType": "StructureDefinition", "id": "MedicationStatement", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "phx" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Medication & Immunization" } ], "url": "http://hl7.org/fhir/StructureDefinition/MedicationStatement", "name": "MedicationStatement", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "MedicationStatement", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "MedicationStatement", "path": "MedicationStatement", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "mst-1", "severity": "error", "human": "Reason not taken is only permitted if notTaken is Yes", "expression": "reasonNotTaken.empty() or notTaken='y'", "xpath": "not(exists(f:reasonNotTaken) and (f:notTaken/@value='n' or f:notTaken/@value='unk'))" } ] }, { "id": "MedicationStatement.id", "path": "MedicationStatement.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MedicationStatement.meta", "path": "MedicationStatement.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "MedicationStatement.implicitRules", "path": "MedicationStatement.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "MedicationStatement.language", "path": "MedicationStatement.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "MedicationStatement.text", "path": "MedicationStatement.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "MedicationStatement.contained", "path": "MedicationStatement.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "MedicationStatement.extension", "path": "MedicationStatement.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MedicationStatement.modifierExtension", "path": "MedicationStatement.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "MedicationStatement.identifier", "path": "MedicationStatement.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "MedicationStatement.status", "path": "MedicationStatement.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A coded concept indicating the current status of a MedicationStatement.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-statement-status" } } }, { "id": "MedicationStatement.medication[x]", "path": "MedicationStatement.medication[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept identifying the substance or product being taken.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "MedicationStatement.subject", "path": "MedicationStatement.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "MedicationStatement.effective[x]", "path": "MedicationStatement.effective[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "MedicationStatement.informationSource", "path": "MedicationStatement.informationSource", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "MedicationStatement.derivedFrom", "path": "MedicationStatement.derivedFrom", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "MedicationStatement.dateAsserted", "path": "MedicationStatement.dateAsserted", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MedicationStatement.notTaken", "path": "MedicationStatement.notTaken", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A coded concept identifying level of certainty if patient has taken or has not taken the medication", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-statement-nottaken" } } }, { "id": "MedicationStatement.reasonNotTaken", "path": "MedicationStatement.reasonNotTaken", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "condition": [ "mst-1" ], "binding": { "strength": "example", "description": "A coded concept indicating the reason why the medication was not taken", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reason-medication-not-taken-codes" } } }, { "id": "MedicationStatement.reasonForUseCodeableConcept", "path": "MedicationStatement.reasonForUseCodeableConcept", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept identifying why the medication is being taken.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "MedicationStatement.reasonForUseReference", "path": "MedicationStatement.reasonForUseReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "MedicationStatement.note", "path": "MedicationStatement.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "MedicationStatement.category", "path": "MedicationStatement.category", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "example", "description": "A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-statement-category" } } }, { "id": "MedicationStatement.dosage", "path": "MedicationStatement.dosage", "min": 0, "max": "*", "type": [ { "code": "DosageInstruction" } ] } ] }, "differential": { "element": [ { "id": "MedicationStatement", "path": "MedicationStatement", "min": 0, "max": "*", "constraint": [ { "key": "mst-1", "severity": "error", "human": "Reason not taken is only permitted if notTaken is Yes", "expression": "reasonNotTaken.empty() or notTaken='y'", "xpath": "not(exists(f:reasonNotTaken) and (f:notTaken/@value='n' or f:notTaken/@value='unk'))" } ] }, { "id": "MedicationStatement.identifier", "path": "MedicationStatement.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "MedicationStatement.status", "path": "MedicationStatement.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A coded concept indicating the current status of a MedicationStatement.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-statement-status" } } }, { "id": "MedicationStatement.medication[x]", "path": "MedicationStatement.medication[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept identifying the substance or product being taken.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-codes" } } }, { "id": "MedicationStatement.subject", "path": "MedicationStatement.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "MedicationStatement.effective[x]", "path": "MedicationStatement.effective[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "MedicationStatement.informationSource", "path": "MedicationStatement.informationSource", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "MedicationStatement.derivedFrom", "path": "MedicationStatement.derivedFrom", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "MedicationStatement.dateAsserted", "path": "MedicationStatement.dateAsserted", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MedicationStatement.notTaken", "path": "MedicationStatement.notTaken", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A coded concept identifying level of certainty if patient has taken or has not taken the medication", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-statement-nottaken" } } }, { "id": "MedicationStatement.reasonNotTaken", "path": "MedicationStatement.reasonNotTaken", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "condition": [ "mst-1" ], "binding": { "strength": "example", "description": "A coded concept indicating the reason why the medication was not taken", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/reason-medication-not-taken-codes" } } }, { "id": "MedicationStatement.reasonForUseCodeableConcept", "path": "MedicationStatement.reasonForUseCodeableConcept", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept identifying why the medication is being taken.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "MedicationStatement.reasonForUseReference", "path": "MedicationStatement.reasonForUseReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] }, { "id": "MedicationStatement.note", "path": "MedicationStatement.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "MedicationStatement.category", "path": "MedicationStatement.category", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "example", "description": "A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/medication-statement-category" } } }, { "id": "MedicationStatement.dosage", "path": "MedicationStatement.dosage", "min": 0, "max": "*", "type": [ { "code": "DosageInstruction" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/MessageDefinition", "resource": { "resourceType": "StructureDefinition", "id": "MessageDefinition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Content" } ], "url": "http://hl7.org/fhir/StructureDefinition/MessageDefinition", "name": "MessageDefinition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Allows messages to be defined once and re-used across systems.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "MessageDefinition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "MessageDefinition", "path": "MessageDefinition", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "MessageDefinition.id", "path": "MessageDefinition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MessageDefinition.meta", "path": "MessageDefinition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "MessageDefinition.implicitRules", "path": "MessageDefinition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "MessageDefinition.language", "path": "MessageDefinition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "MessageDefinition.text", "path": "MessageDefinition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "MessageDefinition.contained", "path": "MessageDefinition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "MessageDefinition.extension", "path": "MessageDefinition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MessageDefinition.modifierExtension", "path": "MessageDefinition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "MessageDefinition.url", "path": "MessageDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "MessageDefinition.version", "path": "MessageDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageDefinition.name", "path": "MessageDefinition.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageDefinition.title", "path": "MessageDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageDefinition.status", "path": "MessageDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "MessageDefinition.experimental", "path": "MessageDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "MessageDefinition.date", "path": "MessageDefinition.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MessageDefinition.publisher", "path": "MessageDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageDefinition.contact", "path": "MessageDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "MessageDefinition.description", "path": "MessageDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "MessageDefinition.useContext", "path": "MessageDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "MessageDefinition.jurisdiction", "path": "MessageDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "MessageDefinition.purpose", "path": "MessageDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "MessageDefinition.copyright", "path": "MessageDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "MessageDefinition.base", "path": "MessageDefinition.base", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MessageDefinition" } ], "isSummary": true }, { "id": "MessageDefinition.parent", "path": "MessageDefinition.parent", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" } ], "isSummary": true }, { "id": "MessageDefinition.replaces", "path": "MessageDefinition.replaces", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MessageDefinition" } ], "isSummary": true }, { "id": "MessageDefinition.event", "path": "MessageDefinition.event", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "One of the message events defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-events" } } }, { "id": "MessageDefinition.category", "path": "MessageDefinition.category", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The impact of the content of a message.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-significance-category" } } }, { "id": "MessageDefinition.focus", "path": "MessageDefinition.focus", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "md-1", "severity": "error", "human": "Max must be postive int or *", "expression": "max='*' or (max.toInteger() > 0)", "xpath": "f:/max@value='*' or f:max/@value > 0" } ], "isSummary": true }, { "id": "MessageDefinition.focus.id", "path": "MessageDefinition.focus.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MessageDefinition.focus.extension", "path": "MessageDefinition.focus.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MessageDefinition.focus.modifierExtension", "path": "MessageDefinition.focus.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MessageDefinition.focus.code", "path": "MessageDefinition.focus.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "MessageDefinition.focus.profile", "path": "MessageDefinition.focus.profile", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ] }, { "id": "MessageDefinition.focus.min", "path": "MessageDefinition.focus.min", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "defaultValueUnsignedInt": 0 }, { "id": "MessageDefinition.focus.max", "path": "MessageDefinition.focus.max", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "md-1" ] }, { "id": "MessageDefinition.responseRequired", "path": "MessageDefinition.responseRequired", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "MessageDefinition.allowedResponse", "path": "MessageDefinition.allowedResponse", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "MessageDefinition.allowedResponse.id", "path": "MessageDefinition.allowedResponse.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MessageDefinition.allowedResponse.extension", "path": "MessageDefinition.allowedResponse.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MessageDefinition.allowedResponse.modifierExtension", "path": "MessageDefinition.allowedResponse.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MessageDefinition.allowedResponse.message", "path": "MessageDefinition.allowedResponse.message", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MessageDefinition" } ] }, { "id": "MessageDefinition.allowedResponse.situation", "path": "MessageDefinition.allowedResponse.situation", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] } ] }, "differential": { "element": [ { "id": "MessageDefinition", "path": "MessageDefinition", "min": 0, "max": "*" }, { "id": "MessageDefinition.url", "path": "MessageDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "MessageDefinition.version", "path": "MessageDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageDefinition.name", "path": "MessageDefinition.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageDefinition.title", "path": "MessageDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageDefinition.status", "path": "MessageDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "MessageDefinition.experimental", "path": "MessageDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "MessageDefinition.date", "path": "MessageDefinition.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MessageDefinition.publisher", "path": "MessageDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageDefinition.contact", "path": "MessageDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "MessageDefinition.description", "path": "MessageDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "MessageDefinition.useContext", "path": "MessageDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "MessageDefinition.jurisdiction", "path": "MessageDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "MessageDefinition.purpose", "path": "MessageDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "MessageDefinition.copyright", "path": "MessageDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "MessageDefinition.base", "path": "MessageDefinition.base", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MessageDefinition" } ], "isSummary": true }, { "id": "MessageDefinition.parent", "path": "MessageDefinition.parent", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" } ], "isSummary": true }, { "id": "MessageDefinition.replaces", "path": "MessageDefinition.replaces", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MessageDefinition" } ], "isSummary": true }, { "id": "MessageDefinition.event", "path": "MessageDefinition.event", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "One of the message events defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-events" } } }, { "id": "MessageDefinition.category", "path": "MessageDefinition.category", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The impact of the content of a message.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-significance-category" } } }, { "id": "MessageDefinition.focus", "path": "MessageDefinition.focus", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "md-1", "severity": "error", "human": "Max must be postive int or *", "expression": "max='*' or (max.toInteger() > 0)", "xpath": "f:/max@value='*' or f:max/@value > 0" } ], "isSummary": true }, { "id": "MessageDefinition.focus.code", "path": "MessageDefinition.focus.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "MessageDefinition.focus.profile", "path": "MessageDefinition.focus.profile", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ] }, { "id": "MessageDefinition.focus.min", "path": "MessageDefinition.focus.min", "min": 0, "max": "1", "type": [ { "code": "unsignedInt" } ], "defaultValueUnsignedInt": 0 }, { "id": "MessageDefinition.focus.max", "path": "MessageDefinition.focus.max", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "md-1" ] }, { "id": "MessageDefinition.responseRequired", "path": "MessageDefinition.responseRequired", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "MessageDefinition.allowedResponse", "path": "MessageDefinition.allowedResponse", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "MessageDefinition.allowedResponse.message", "path": "MessageDefinition.allowedResponse.message", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MessageDefinition" } ] }, { "id": "MessageDefinition.allowedResponse.situation", "path": "MessageDefinition.allowedResponse.situation", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/MessageHeader", "resource": { "resourceType": "StructureDefinition", "id": "MessageHeader", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Infrastructure/Exchange" } ], "url": "http://hl7.org/fhir/StructureDefinition/MessageHeader", "name": "MessageHeader", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Many implementations are not prepared to use REST and need a messaging based infrastructure.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "MessageHeader", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "MessageHeader", "path": "MessageHeader", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "MessageHeader.id", "path": "MessageHeader.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MessageHeader.meta", "path": "MessageHeader.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "MessageHeader.implicitRules", "path": "MessageHeader.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "MessageHeader.language", "path": "MessageHeader.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "MessageHeader.text", "path": "MessageHeader.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "MessageHeader.contained", "path": "MessageHeader.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "MessageHeader.extension", "path": "MessageHeader.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MessageHeader.modifierExtension", "path": "MessageHeader.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "MessageHeader.timestamp", "path": "MessageHeader.timestamp", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "MessageHeader.event", "path": "MessageHeader.event", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "preferred", "description": "One of the message events defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-events" } } }, { "id": "MessageHeader.response", "path": "MessageHeader.response", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isModifier": true, "isSummary": true }, { "id": "MessageHeader.response.id", "path": "MessageHeader.response.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MessageHeader.response.extension", "path": "MessageHeader.response.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MessageHeader.response.modifierExtension", "path": "MessageHeader.response.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MessageHeader.response.identifier", "path": "MessageHeader.response.identifier", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MessageHeader.response.code", "path": "MessageHeader.response.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The kind of response to a message", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/response-code" } } }, { "id": "MessageHeader.response.details", "path": "MessageHeader.response.details", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationOutcome" } ], "isSummary": true }, { "id": "MessageHeader.source", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "MessageSource" } ], "path": "MessageHeader.source", "min": 1, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "MessageHeader.source.id", "path": "MessageHeader.source.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MessageHeader.source.extension", "path": "MessageHeader.source.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MessageHeader.source.modifierExtension", "path": "MessageHeader.source.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MessageHeader.source.name", "path": "MessageHeader.source.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageHeader.source.software", "path": "MessageHeader.source.software", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageHeader.source.version", "path": "MessageHeader.source.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageHeader.source.contact", "path": "MessageHeader.source.contact", "min": 0, "max": "1", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "MessageHeader.source.endpoint", "path": "MessageHeader.source.endpoint", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "MessageHeader.destination", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "MessageDestination" } ], "path": "MessageHeader.destination", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "MessageHeader.destination.id", "path": "MessageHeader.destination.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "MessageHeader.destination.extension", "path": "MessageHeader.destination.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MessageHeader.destination.modifierExtension", "path": "MessageHeader.destination.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "MessageHeader.destination.name", "path": "MessageHeader.destination.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageHeader.destination.target", "path": "MessageHeader.destination.target", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "MessageHeader.destination.endpoint", "path": "MessageHeader.destination.endpoint", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "MessageHeader.enterer", "path": "MessageHeader.enterer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "MessageHeader.author", "path": "MessageHeader.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "MessageHeader.receiver", "path": "MessageHeader.receiver", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "MessageHeader.responsible", "path": "MessageHeader.responsible", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "MessageHeader.reason", "path": "MessageHeader.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Reason for event occurrence", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-reason-encounter" } } }, { "id": "MessageHeader.data", "path": "MessageHeader.data", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "MessageHeader", "path": "MessageHeader", "min": 0, "max": "*" }, { "id": "MessageHeader.timestamp", "path": "MessageHeader.timestamp", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "MessageHeader.event", "path": "MessageHeader.event", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "preferred", "description": "One of the message events defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-events" } } }, { "id": "MessageHeader.response", "path": "MessageHeader.response", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isModifier": true, "isSummary": true }, { "id": "MessageHeader.response.identifier", "path": "MessageHeader.response.identifier", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MessageHeader.response.code", "path": "MessageHeader.response.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The kind of response to a message", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/response-code" } } }, { "id": "MessageHeader.response.details", "path": "MessageHeader.response.details", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationOutcome" } ], "isSummary": true }, { "id": "MessageHeader.source", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "MessageSource" } ], "path": "MessageHeader.source", "min": 1, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "MessageHeader.source.name", "path": "MessageHeader.source.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageHeader.source.software", "path": "MessageHeader.source.software", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageHeader.source.version", "path": "MessageHeader.source.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageHeader.source.contact", "path": "MessageHeader.source.contact", "min": 0, "max": "1", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "MessageHeader.source.endpoint", "path": "MessageHeader.source.endpoint", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "MessageHeader.destination", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "MessageDestination" } ], "path": "MessageHeader.destination", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "MessageHeader.destination.name", "path": "MessageHeader.destination.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MessageHeader.destination.target", "path": "MessageHeader.destination.target", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "MessageHeader.destination.endpoint", "path": "MessageHeader.destination.endpoint", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "MessageHeader.enterer", "path": "MessageHeader.enterer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "MessageHeader.author", "path": "MessageHeader.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "MessageHeader.receiver", "path": "MessageHeader.receiver", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "MessageHeader.responsible", "path": "MessageHeader.responsible", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "MessageHeader.reason", "path": "MessageHeader.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Reason for event occurrence", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/message-reason-encounter" } } }, { "id": "MessageHeader.data", "path": "MessageHeader.data", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/NamingSystem", "resource": { "resourceType": "StructureDefinition", "id": "NamingSystem", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Terminology" } ], "url": "http://hl7.org/fhir/StructureDefinition/NamingSystem", "name": "NamingSystem", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "NamingSystem", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "NamingSystem", "path": "NamingSystem", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "nsd-1", "severity": "error", "human": "Root systems cannot have uuid identifiers", "expression": "kind != 'root' or uniqueId.type = 'uuid'", "xpath": "not(f:kind/@value='root' and f:uniqueId/f:type/@value='uuid')" }, { "key": "nsd-3", "severity": "error", "human": "Can only have replacedBy if naming system is retired", "expression": "replacedBy.empty() or status = 'retired'", "xpath": "not(f:replacedBy) or f:status/@value='retired'" }, { "key": "nsd-2", "severity": "error", "human": "Can't have more than one preferred identifier for a type", "expression": "uniqueId.where(preferred = true).select(type).isDistinct()", "xpath": "not(exists(for $type in distinct-values(f:uniqueId/f:type/@value) return if (count(f:uniqueId[f:type/@value=$type and f:preferred/@value=true()])>1) then $type else ()))" } ] }, { "id": "NamingSystem.id", "path": "NamingSystem.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "NamingSystem.meta", "path": "NamingSystem.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "NamingSystem.implicitRules", "path": "NamingSystem.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "NamingSystem.language", "path": "NamingSystem.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "NamingSystem.text", "path": "NamingSystem.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "NamingSystem.contained", "path": "NamingSystem.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "NamingSystem.extension", "path": "NamingSystem.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NamingSystem.modifierExtension", "path": "NamingSystem.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "NamingSystem.name", "path": "NamingSystem.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "NamingSystem.status", "path": "NamingSystem.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "NamingSystem.kind", "path": "NamingSystem.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Identifies the purpose of the naming system.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/namingsystem-type" } } }, { "id": "NamingSystem.date", "path": "NamingSystem.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "NamingSystem.publisher", "path": "NamingSystem.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "NamingSystem.contact", "path": "NamingSystem.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "NamingSystem.responsible", "path": "NamingSystem.responsible", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NamingSystem.type", "path": "NamingSystem.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/identifier-type" } } }, { "id": "NamingSystem.description", "path": "NamingSystem.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "NamingSystem.useContext", "path": "NamingSystem.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "NamingSystem.jurisdiction", "path": "NamingSystem.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "NamingSystem.usage", "path": "NamingSystem.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NamingSystem.uniqueId", "path": "NamingSystem.uniqueId", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "NamingSystem.uniqueId.id", "path": "NamingSystem.uniqueId.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "NamingSystem.uniqueId.extension", "path": "NamingSystem.uniqueId.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NamingSystem.uniqueId.modifierExtension", "path": "NamingSystem.uniqueId.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "NamingSystem.uniqueId.type", "path": "NamingSystem.uniqueId.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Identifies the style of unique identifier used to identify a namespace.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/namingsystem-identifier-type" } } }, { "id": "NamingSystem.uniqueId.value", "path": "NamingSystem.uniqueId.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NamingSystem.uniqueId.preferred", "path": "NamingSystem.uniqueId.preferred", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "meaningWhenMissing": "If there are multiple ids, and one is labelled \"preferred\", then the assumption is that the others are not preferred. In the absence of any id marked as preferred, no inference can be drawn" }, { "id": "NamingSystem.uniqueId.comment", "path": "NamingSystem.uniqueId.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NamingSystem.uniqueId.period", "path": "NamingSystem.uniqueId.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "NamingSystem.replacedBy", "path": "NamingSystem.replacedBy", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/NamingSystem" } ], "condition": [ "nsd-3" ] } ] }, "differential": { "element": [ { "id": "NamingSystem", "path": "NamingSystem", "min": 0, "max": "*", "constraint": [ { "key": "nsd-1", "severity": "error", "human": "Root systems cannot have uuid identifiers", "expression": "kind != 'root' or uniqueId.type = 'uuid'", "xpath": "not(f:kind/@value='root' and f:uniqueId/f:type/@value='uuid')" }, { "key": "nsd-3", "severity": "error", "human": "Can only have replacedBy if naming system is retired", "expression": "replacedBy.empty() or status = 'retired'", "xpath": "not(f:replacedBy) or f:status/@value='retired'" }, { "key": "nsd-2", "severity": "error", "human": "Can't have more than one preferred identifier for a type", "expression": "uniqueId.where(preferred = true).select(type).isDistinct()", "xpath": "not(exists(for $type in distinct-values(f:uniqueId/f:type/@value) return if (count(f:uniqueId[f:type/@value=$type and f:preferred/@value=true()])>1) then $type else ()))" } ] }, { "id": "NamingSystem.name", "path": "NamingSystem.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "NamingSystem.status", "path": "NamingSystem.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "NamingSystem.kind", "path": "NamingSystem.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Identifies the purpose of the naming system.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/namingsystem-type" } } }, { "id": "NamingSystem.date", "path": "NamingSystem.date", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "NamingSystem.publisher", "path": "NamingSystem.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "NamingSystem.contact", "path": "NamingSystem.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "NamingSystem.responsible", "path": "NamingSystem.responsible", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NamingSystem.type", "path": "NamingSystem.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/identifier-type" } } }, { "id": "NamingSystem.description", "path": "NamingSystem.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "NamingSystem.useContext", "path": "NamingSystem.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "NamingSystem.jurisdiction", "path": "NamingSystem.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "NamingSystem.usage", "path": "NamingSystem.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NamingSystem.uniqueId", "path": "NamingSystem.uniqueId", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "NamingSystem.uniqueId.type", "path": "NamingSystem.uniqueId.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Identifies the style of unique identifier used to identify a namespace.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/namingsystem-identifier-type" } } }, { "id": "NamingSystem.uniqueId.value", "path": "NamingSystem.uniqueId.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NamingSystem.uniqueId.preferred", "path": "NamingSystem.uniqueId.preferred", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "meaningWhenMissing": "If there are multiple ids, and one is labelled \"preferred\", then the assumption is that the others are not preferred. In the absence of any id marked as preferred, no inference can be drawn" }, { "id": "NamingSystem.uniqueId.comment", "path": "NamingSystem.uniqueId.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NamingSystem.uniqueId.period", "path": "NamingSystem.uniqueId.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "NamingSystem.replacedBy", "path": "NamingSystem.replacedBy", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/NamingSystem" } ], "condition": [ "nsd-3" ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/NutritionRequest", "resource": { "resourceType": "StructureDefinition", "id": "NutritionRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Care Provision" } ], "url": "http://hl7.org/fhir/StructureDefinition/NutritionRequest", "name": "NutritionRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "NutritionRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "NutritionRequest", "path": "NutritionRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "nor-1", "severity": "warning", "human": "Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class", "expression": "oralDiet.exists() or supplement.exists() or enteralFormula.exists()", "xpath": "exists(f:oralDiet) or exists(f:supplement) or exists(f:enteralFormula)" } ] }, { "id": "NutritionRequest.id", "path": "NutritionRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "NutritionRequest.meta", "path": "NutritionRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "NutritionRequest.implicitRules", "path": "NutritionRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "NutritionRequest.language", "path": "NutritionRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "NutritionRequest.text", "path": "NutritionRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "NutritionRequest.contained", "path": "NutritionRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "NutritionRequest.extension", "path": "NutritionRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NutritionRequest.modifierExtension", "path": "NutritionRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "NutritionRequest.identifier", "path": "NutritionRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "NutritionRequest.status", "path": "NutritionRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes specifying the state of the request. Describes the lifecycle of the nutrition order.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/nutrition-request-status" } } }, { "id": "NutritionRequest.patient", "path": "NutritionRequest.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "NutritionRequest.encounter", "path": "NutritionRequest.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "NutritionRequest.dateTime", "path": "NutritionRequest.dateTime", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "NutritionRequest.orderer", "path": "NutritionRequest.orderer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "NutritionRequest.allergyIntolerance", "path": "NutritionRequest.allergyIntolerance", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" } ] }, { "id": "NutritionRequest.foodPreferenceModifier", "path": "NutritionRequest.foodPreferenceModifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Medical, cultural or ethical food preferences to help with catering requirements", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-diet" } } }, { "id": "NutritionRequest.excludeFoodModifier", "path": "NutritionRequest.excludeFoodModifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes used to indicate the type of food that should NOT be given to the patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/food-type" } } }, { "id": "NutritionRequest.oralDiet", "path": "NutritionRequest.oralDiet", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "nor-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "NutritionRequest.oralDiet.id", "path": "NutritionRequest.oralDiet.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.oralDiet.extension", "path": "NutritionRequest.oralDiet.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NutritionRequest.oralDiet.modifierExtension", "path": "NutritionRequest.oralDiet.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "NutritionRequest.oralDiet.type", "path": "NutritionRequest.oralDiet.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes used to indicate the type of diet being ordered for a patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diet-type" } } }, { "id": "NutritionRequest.oralDiet.schedule", "path": "NutritionRequest.oralDiet.schedule", "min": 0, "max": "*", "type": [ { "code": "Timing" } ] }, { "id": "NutritionRequest.oralDiet.nutrient", "path": "NutritionRequest.oralDiet.nutrient", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "NutritionRequest.oralDiet.nutrient.id", "path": "NutritionRequest.oralDiet.nutrient.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.oralDiet.nutrient.extension", "path": "NutritionRequest.oralDiet.nutrient.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NutritionRequest.oralDiet.nutrient.modifierExtension", "path": "NutritionRequest.oralDiet.nutrient.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "NutritionRequest.oralDiet.nutrient.modifier", "path": "NutritionRequest.oralDiet.nutrient.modifier", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for types of nutrient that is being modified such as carbohydrate or sodium.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/nutrient-code" } } }, { "id": "NutritionRequest.oralDiet.nutrient.amount", "path": "NutritionRequest.oralDiet.nutrient.amount", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.oralDiet.texture", "path": "NutritionRequest.oralDiet.texture", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "NutritionRequest.oralDiet.texture.id", "path": "NutritionRequest.oralDiet.texture.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.oralDiet.texture.extension", "path": "NutritionRequest.oralDiet.texture.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NutritionRequest.oralDiet.texture.modifierExtension", "path": "NutritionRequest.oralDiet.texture.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "NutritionRequest.oralDiet.texture.modifier", "path": "NutritionRequest.oralDiet.texture.modifier", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for food consistency types or texture modifications to apply to foods.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/texture-code" } } }, { "id": "NutritionRequest.oralDiet.texture.foodType", "path": "NutritionRequest.oralDiet.texture.foodType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for types of foods that are texture modified.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/modified-foodtype" } } }, { "id": "NutritionRequest.oralDiet.fluidConsistencyType", "path": "NutritionRequest.oralDiet.fluidConsistencyType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes used to represent the consistency of fluids and liquids provided to the patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consistency-type" } } }, { "id": "NutritionRequest.oralDiet.instruction", "path": "NutritionRequest.oralDiet.instruction", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "NutritionRequest.supplement", "path": "NutritionRequest.supplement", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "nor-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "NutritionRequest.supplement.id", "path": "NutritionRequest.supplement.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.supplement.extension", "path": "NutritionRequest.supplement.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NutritionRequest.supplement.modifierExtension", "path": "NutritionRequest.supplement.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "NutritionRequest.supplement.type", "path": "NutritionRequest.supplement.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for nutritional supplements to be provided to the patient", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplement-type" } } }, { "id": "NutritionRequest.supplement.productName", "path": "NutritionRequest.supplement.productName", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.supplement.schedule", "path": "NutritionRequest.supplement.schedule", "min": 0, "max": "*", "type": [ { "code": "Timing" } ] }, { "id": "NutritionRequest.supplement.quantity", "path": "NutritionRequest.supplement.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.supplement.instruction", "path": "NutritionRequest.supplement.instruction", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "NutritionRequest.enteralFormula", "path": "NutritionRequest.enteralFormula", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "nor-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "NutritionRequest.enteralFormula.id", "path": "NutritionRequest.enteralFormula.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.enteralFormula.extension", "path": "NutritionRequest.enteralFormula.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NutritionRequest.enteralFormula.modifierExtension", "path": "NutritionRequest.enteralFormula.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "NutritionRequest.enteralFormula.baseFormulaType", "path": "NutritionRequest.enteralFormula.baseFormulaType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for type of enteral formula to be administered to patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/entformula-type" } } }, { "id": "NutritionRequest.enteralFormula.baseFormulaProductName", "path": "NutritionRequest.enteralFormula.baseFormulaProductName", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.enteralFormula.additiveType", "path": "NutritionRequest.enteralFormula.additiveType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the type of modular component such as protein, carbohydrate or fiber to be provided in addition to or mixed with the base formula.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/entformula-additive" } } }, { "id": "NutritionRequest.enteralFormula.additiveProductName", "path": "NutritionRequest.enteralFormula.additiveProductName", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.enteralFormula.caloricDensity", "path": "NutritionRequest.enteralFormula.caloricDensity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.enteralFormula.routeofAdministration", "path": "NutritionRequest.enteralFormula.routeofAdministration", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Codes specifying the route of administration of enteral formula.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/enteral-route" } } }, { "id": "NutritionRequest.enteralFormula.administration", "path": "NutritionRequest.enteralFormula.administration", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "NutritionRequest.enteralFormula.administration.id", "path": "NutritionRequest.enteralFormula.administration.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.enteralFormula.administration.extension", "path": "NutritionRequest.enteralFormula.administration.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "NutritionRequest.enteralFormula.administration.modifierExtension", "path": "NutritionRequest.enteralFormula.administration.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "NutritionRequest.enteralFormula.administration.schedule", "path": "NutritionRequest.enteralFormula.administration.schedule", "min": 0, "max": "1", "type": [ { "code": "Timing" } ] }, { "id": "NutritionRequest.enteralFormula.administration.quantity", "path": "NutritionRequest.enteralFormula.administration.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.enteralFormula.administration.rate[x]", "path": "NutritionRequest.enteralFormula.administration.rate[x]", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" }, { "code": "Ratio" } ] }, { "id": "NutritionRequest.enteralFormula.maxVolumeToDeliver", "path": "NutritionRequest.enteralFormula.maxVolumeToDeliver", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.enteralFormula.administrationInstruction", "path": "NutritionRequest.enteralFormula.administrationInstruction", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "NutritionRequest", "path": "NutritionRequest", "min": 0, "max": "*", "constraint": [ { "key": "nor-1", "severity": "warning", "human": "Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class", "expression": "oralDiet.exists() or supplement.exists() or enteralFormula.exists()", "xpath": "exists(f:oralDiet) or exists(f:supplement) or exists(f:enteralFormula)" } ] }, { "id": "NutritionRequest.identifier", "path": "NutritionRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "NutritionRequest.status", "path": "NutritionRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes specifying the state of the request. Describes the lifecycle of the nutrition order.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/nutrition-request-status" } } }, { "id": "NutritionRequest.patient", "path": "NutritionRequest.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "NutritionRequest.encounter", "path": "NutritionRequest.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "NutritionRequest.dateTime", "path": "NutritionRequest.dateTime", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "NutritionRequest.orderer", "path": "NutritionRequest.orderer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "NutritionRequest.allergyIntolerance", "path": "NutritionRequest.allergyIntolerance", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" } ] }, { "id": "NutritionRequest.foodPreferenceModifier", "path": "NutritionRequest.foodPreferenceModifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Medical, cultural or ethical food preferences to help with catering requirements", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/encounter-diet" } } }, { "id": "NutritionRequest.excludeFoodModifier", "path": "NutritionRequest.excludeFoodModifier", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes used to indicate the type of food that should NOT be given to the patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/food-type" } } }, { "id": "NutritionRequest.oralDiet", "path": "NutritionRequest.oralDiet", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "nor-1" ] }, { "id": "NutritionRequest.oralDiet.type", "path": "NutritionRequest.oralDiet.type", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes used to indicate the type of diet being ordered for a patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diet-type" } } }, { "id": "NutritionRequest.oralDiet.schedule", "path": "NutritionRequest.oralDiet.schedule", "min": 0, "max": "*", "type": [ { "code": "Timing" } ] }, { "id": "NutritionRequest.oralDiet.nutrient", "path": "NutritionRequest.oralDiet.nutrient", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "NutritionRequest.oralDiet.nutrient.modifier", "path": "NutritionRequest.oralDiet.nutrient.modifier", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for types of nutrient that is being modified such as carbohydrate or sodium.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/nutrient-code" } } }, { "id": "NutritionRequest.oralDiet.nutrient.amount", "path": "NutritionRequest.oralDiet.nutrient.amount", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.oralDiet.texture", "path": "NutritionRequest.oralDiet.texture", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "NutritionRequest.oralDiet.texture.modifier", "path": "NutritionRequest.oralDiet.texture.modifier", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for food consistency types or texture modifications to apply to foods.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/texture-code" } } }, { "id": "NutritionRequest.oralDiet.texture.foodType", "path": "NutritionRequest.oralDiet.texture.foodType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for types of foods that are texture modified.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/modified-foodtype" } } }, { "id": "NutritionRequest.oralDiet.fluidConsistencyType", "path": "NutritionRequest.oralDiet.fluidConsistencyType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes used to represent the consistency of fluids and liquids provided to the patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/consistency-type" } } }, { "id": "NutritionRequest.oralDiet.instruction", "path": "NutritionRequest.oralDiet.instruction", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "NutritionRequest.supplement", "path": "NutritionRequest.supplement", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "nor-1" ] }, { "id": "NutritionRequest.supplement.type", "path": "NutritionRequest.supplement.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for nutritional supplements to be provided to the patient", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplement-type" } } }, { "id": "NutritionRequest.supplement.productName", "path": "NutritionRequest.supplement.productName", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.supplement.schedule", "path": "NutritionRequest.supplement.schedule", "min": 0, "max": "*", "type": [ { "code": "Timing" } ] }, { "id": "NutritionRequest.supplement.quantity", "path": "NutritionRequest.supplement.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.supplement.instruction", "path": "NutritionRequest.supplement.instruction", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "NutritionRequest.enteralFormula", "path": "NutritionRequest.enteralFormula", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "nor-1" ] }, { "id": "NutritionRequest.enteralFormula.baseFormulaType", "path": "NutritionRequest.enteralFormula.baseFormulaType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for type of enteral formula to be administered to patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/entformula-type" } } }, { "id": "NutritionRequest.enteralFormula.baseFormulaProductName", "path": "NutritionRequest.enteralFormula.baseFormulaProductName", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.enteralFormula.additiveType", "path": "NutritionRequest.enteralFormula.additiveType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for the type of modular component such as protein, carbohydrate or fiber to be provided in addition to or mixed with the base formula.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/entformula-additive" } } }, { "id": "NutritionRequest.enteralFormula.additiveProductName", "path": "NutritionRequest.enteralFormula.additiveProductName", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "NutritionRequest.enteralFormula.caloricDensity", "path": "NutritionRequest.enteralFormula.caloricDensity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.enteralFormula.routeofAdministration", "path": "NutritionRequest.enteralFormula.routeofAdministration", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Codes specifying the route of administration of enteral formula.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/enteral-route" } } }, { "id": "NutritionRequest.enteralFormula.administration", "path": "NutritionRequest.enteralFormula.administration", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "NutritionRequest.enteralFormula.administration.schedule", "path": "NutritionRequest.enteralFormula.administration.schedule", "min": 0, "max": "1", "type": [ { "code": "Timing" } ] }, { "id": "NutritionRequest.enteralFormula.administration.quantity", "path": "NutritionRequest.enteralFormula.administration.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.enteralFormula.administration.rate[x]", "path": "NutritionRequest.enteralFormula.administration.rate[x]", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" }, { "code": "Ratio" } ] }, { "id": "NutritionRequest.enteralFormula.maxVolumeToDeliver", "path": "NutritionRequest.enteralFormula.maxVolumeToDeliver", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "NutritionRequest.enteralFormula.administrationInstruction", "path": "NutritionRequest.enteralFormula.administrationInstruction", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Observation", "resource": { "resourceType": "StructureDefinition", "id": "Observation", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 3 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Diagnostics" } ], "url": "http://hl7.org/fhir/StructureDefinition/Observation", "name": "Observation", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Observation", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Observation", "path": "Observation", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "obs-7", "severity": "error", "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", "expression": "value.empty() or code!=component.code", "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" }, { "key": "obs-6", "severity": "error", "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", "expression": "dataAbsentReason.empty() or value.empty()", "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))" } ] }, { "id": "Observation.id", "path": "Observation.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Observation.meta", "path": "Observation.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Observation.implicitRules", "path": "Observation.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Observation.language", "path": "Observation.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Observation.text", "path": "Observation.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Observation.contained", "path": "Observation.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Observation.extension", "path": "Observation.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Observation.modifierExtension", "path": "Observation.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Observation.identifier", "path": "Observation.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Observation.status", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "valueString": "default: final" } ], "path": "Observation.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes providing the status of an observation.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-status" } } }, { "id": "Observation.category", "path": "Observation.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for high level observation categories .", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-category" } } }, { "id": "Observation.code", "path": "Observation.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes identifying names of simple observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-codes" } } }, { "id": "Observation.subject", "path": "Observation.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "Observation.encounter", "path": "Observation.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "Observation.effective[x]", "path": "Observation.effective[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "Observation.issued", "path": "Observation.issued", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Observation.performer", "path": "Observation.performer", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Observation.value[x]", "path": "Observation.value[x]", "min": 0, "max": "1", "type": [ { "code": "Quantity" }, { "code": "CodeableConcept" }, { "code": "string" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "SampledData" }, { "code": "Attachment" }, { "code": "time" }, { "code": "dateTime" }, { "code": "Period" } ], "condition": [ "obs-7" ], "isSummary": true }, { "id": "Observation.dataAbsentReason", "path": "Observation.dataAbsentReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "obs-6" ], "binding": { "strength": "extensible", "description": "Codes specifying why the result (Observation.value[x]) is missing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" } } }, { "id": "Observation.interpretation", "path": "Observation.interpretation", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Codes identifying interpretations of observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" } } }, { "id": "Observation.comment", "path": "Observation.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Observation.bodySite", "path": "Observation.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "Observation.method", "path": "Observation.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Methods for simple observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-methods" } } }, { "id": "Observation.specimen", "path": "Observation.specimen", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ] }, { "id": "Observation.device", "path": "Observation.device", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" } ] }, { "id": "Observation.referenceRange", "path": "Observation.referenceRange", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "obs-3", "severity": "error", "human": "Must have at least a low or a high or text", "expression": "low.exists() or high.exists() or text.exists()", "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" } ] }, { "id": "Observation.referenceRange.id", "path": "Observation.referenceRange.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Observation.referenceRange.extension", "path": "Observation.referenceRange.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Observation.referenceRange.modifierExtension", "path": "Observation.referenceRange.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Observation.referenceRange.low", "path": "Observation.referenceRange.low", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ], "condition": [ "obs-3" ] }, { "id": "Observation.referenceRange.high", "path": "Observation.referenceRange.high", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ], "condition": [ "obs-3" ] }, { "id": "Observation.referenceRange.meaning", "path": "Observation.referenceRange.meaning", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Code for the meaning of a reference range.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" } } }, { "id": "Observation.referenceRange.age", "path": "Observation.referenceRange.age", "min": 0, "max": "1", "type": [ { "code": "Range" } ] }, { "id": "Observation.referenceRange.text", "path": "Observation.referenceRange.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Observation.related", "path": "Observation.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Observation.related.id", "path": "Observation.related.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Observation.related.extension", "path": "Observation.related.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Observation.related.modifierExtension", "path": "Observation.related.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Observation.related.type", "path": "Observation.related.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Codes specifying how two observations are related.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" } } }, { "id": "Observation.related.target", "path": "Observation.related.target", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" } ] }, { "id": "Observation.component", "path": "Observation.component", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Observation.component.id", "path": "Observation.component.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Observation.component.extension", "path": "Observation.component.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Observation.component.modifierExtension", "path": "Observation.component.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Observation.component.code", "path": "Observation.component.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes identifying names of simple observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-codes" } } }, { "id": "Observation.component.value[x]", "path": "Observation.component.value[x]", "min": 0, "max": "1", "type": [ { "code": "Quantity" }, { "code": "CodeableConcept" }, { "code": "string" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "SampledData" }, { "code": "Attachment" }, { "code": "time" }, { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "Observation.component.dataAbsentReason", "path": "Observation.component.dataAbsentReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "obs-6" ], "binding": { "strength": "extensible", "description": "Codes specifying why the result (Observation.value[x]) is missing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" } } }, { "id": "Observation.component.interpretation", "path": "Observation.component.interpretation", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Codes identifying interpretations of observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" } } }, { "id": "Observation.component.referenceRange", "path": "Observation.component.referenceRange", "min": 0, "max": "*", "contentReference": "#Observation.referenceRange" } ] }, "differential": { "element": [ { "id": "Observation", "path": "Observation", "min": 0, "max": "*", "constraint": [ { "key": "obs-7", "severity": "error", "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", "expression": "value.empty() or code!=component.code", "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" }, { "key": "obs-6", "severity": "error", "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", "expression": "dataAbsentReason.empty() or value.empty()", "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))" } ] }, { "id": "Observation.identifier", "path": "Observation.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Observation.status", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "valueString": "default: final" } ], "path": "Observation.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes providing the status of an observation.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-status" } } }, { "id": "Observation.category", "path": "Observation.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes for high level observation categories .", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-category" } } }, { "id": "Observation.code", "path": "Observation.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes identifying names of simple observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-codes" } } }, { "id": "Observation.subject", "path": "Observation.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "Observation.encounter", "path": "Observation.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "Observation.effective[x]", "path": "Observation.effective[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "Observation.issued", "path": "Observation.issued", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Observation.performer", "path": "Observation.performer", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Observation.value[x]", "path": "Observation.value[x]", "min": 0, "max": "1", "type": [ { "code": "Quantity" }, { "code": "CodeableConcept" }, { "code": "string" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "SampledData" }, { "code": "Attachment" }, { "code": "time" }, { "code": "dateTime" }, { "code": "Period" } ], "condition": [ "obs-7" ], "isSummary": true }, { "id": "Observation.dataAbsentReason", "path": "Observation.dataAbsentReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "obs-6" ], "binding": { "strength": "extensible", "description": "Codes specifying why the result (Observation.value[x]) is missing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" } } }, { "id": "Observation.interpretation", "path": "Observation.interpretation", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Codes identifying interpretations of observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" } } }, { "id": "Observation.comment", "path": "Observation.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Observation.bodySite", "path": "Observation.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "Observation.method", "path": "Observation.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Methods for simple observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-methods" } } }, { "id": "Observation.specimen", "path": "Observation.specimen", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ] }, { "id": "Observation.device", "path": "Observation.device", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" } ] }, { "id": "Observation.referenceRange", "path": "Observation.referenceRange", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "obs-3", "severity": "error", "human": "Must have at least a low or a high or text", "expression": "low.exists() or high.exists() or text.exists()", "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" } ] }, { "id": "Observation.referenceRange.low", "path": "Observation.referenceRange.low", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ], "condition": [ "obs-3" ] }, { "id": "Observation.referenceRange.high", "path": "Observation.referenceRange.high", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ], "condition": [ "obs-3" ] }, { "id": "Observation.referenceRange.meaning", "path": "Observation.referenceRange.meaning", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Code for the meaning of a reference range.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" } } }, { "id": "Observation.referenceRange.age", "path": "Observation.referenceRange.age", "min": 0, "max": "1", "type": [ { "code": "Range" } ] }, { "id": "Observation.referenceRange.text", "path": "Observation.referenceRange.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Observation.related", "path": "Observation.related", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Observation.related.type", "path": "Observation.related.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Codes specifying how two observations are related.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" } } }, { "id": "Observation.related.target", "path": "Observation.related.target", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" } ] }, { "id": "Observation.component", "path": "Observation.component", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Observation.component.code", "path": "Observation.component.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes identifying names of simple observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-codes" } } }, { "id": "Observation.component.value[x]", "path": "Observation.component.value[x]", "min": 0, "max": "1", "type": [ { "code": "Quantity" }, { "code": "CodeableConcept" }, { "code": "string" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "SampledData" }, { "code": "Attachment" }, { "code": "time" }, { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "Observation.component.dataAbsentReason", "path": "Observation.component.dataAbsentReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "condition": [ "obs-6" ], "binding": { "strength": "extensible", "description": "Codes specifying why the result (Observation.value[x]) is missing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" } } }, { "id": "Observation.component.interpretation", "path": "Observation.component.interpretation", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "Codes identifying interpretations of observations.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" } } }, { "id": "Observation.component.referenceRange", "path": "Observation.component.referenceRange", "min": 0, "max": "*", "contentReference": "#Observation.referenceRange" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/OperationDefinition", "resource": { "resourceType": "StructureDefinition", "id": "OperationDefinition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Content" } ], "url": "http://hl7.org/fhir/StructureDefinition/OperationDefinition", "name": "OperationDefinition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "OperationDefinition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "OperationDefinition", "path": "OperationDefinition", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "OperationDefinition.id", "path": "OperationDefinition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "OperationDefinition.meta", "path": "OperationDefinition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "OperationDefinition.implicitRules", "path": "OperationDefinition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "OperationDefinition.language", "path": "OperationDefinition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "OperationDefinition.text", "path": "OperationDefinition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "OperationDefinition.contained", "path": "OperationDefinition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "OperationDefinition.extension", "path": "OperationDefinition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "OperationDefinition.modifierExtension", "path": "OperationDefinition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "OperationDefinition.url", "path": "OperationDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "OperationDefinition.version", "path": "OperationDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationDefinition.name", "path": "OperationDefinition.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationDefinition.status", "path": "OperationDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "OperationDefinition.kind", "path": "OperationDefinition.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Whether an operation is a normal operation or a query.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/operation-kind" } } }, { "id": "OperationDefinition.experimental", "path": "OperationDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "OperationDefinition.date", "path": "OperationDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "OperationDefinition.publisher", "path": "OperationDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationDefinition.contact", "path": "OperationDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "OperationDefinition.description", "path": "OperationDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "OperationDefinition.useContext", "path": "OperationDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "OperationDefinition.jurisdiction", "path": "OperationDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "OperationDefinition.purpose", "path": "OperationDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "OperationDefinition.idempotent", "path": "OperationDefinition.idempotent", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "OperationDefinition.code", "path": "OperationDefinition.code", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "OperationDefinition.comment", "path": "OperationDefinition.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.base", "path": "OperationDefinition.base", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition" } ] }, { "id": "OperationDefinition.resource", "path": "OperationDefinition.resource", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "OperationDefinition.system", "path": "OperationDefinition.system", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "OperationDefinition.type", "path": "OperationDefinition.type", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "OperationDefinition.instance", "path": "OperationDefinition.instance", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "OperationDefinition.parameter", "path": "OperationDefinition.parameter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "opd-1", "severity": "error", "human": "Either a type must be provided, or parts", "expression": "type.exists() or part.exists()", "xpath": "exists(f:type) or exists(f:part)" }, { "key": "opd-2", "severity": "error", "human": "A search type can only be specified for parameters of type string", "expression": "searchType implies type = 'string'", "xpath": "not(exists(f:searchType)) or (f:type/@value = 'string')" } ] }, { "id": "OperationDefinition.parameter.id", "path": "OperationDefinition.parameter.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.parameter.extension", "path": "OperationDefinition.parameter.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "OperationDefinition.parameter.modifierExtension", "path": "OperationDefinition.parameter.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "OperationDefinition.parameter.name", "path": "OperationDefinition.parameter.name", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "OperationDefinition.parameter.use", "path": "OperationDefinition.parameter.use", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Whether an operation parameter is an input or an output parameter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/operation-parameter-use" } } }, { "id": "OperationDefinition.parameter.min", "path": "OperationDefinition.parameter.min", "min": 1, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "OperationDefinition.parameter.max", "path": "OperationDefinition.parameter.max", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.parameter.documentation", "path": "OperationDefinition.parameter.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.parameter.type", "path": "OperationDefinition.parameter.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "opd-1" ], "binding": { "strength": "required", "description": "Either an abstract type, a resource or a data type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/all-types" } } }, { "id": "OperationDefinition.parameter.searchType", "path": "OperationDefinition.parameter.searchType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "opd-2" ], "binding": { "strength": "required", "description": "Data types allowed to be used for search parameters.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-param-type" } } }, { "id": "OperationDefinition.parameter.profile", "path": "OperationDefinition.parameter.profile", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ] }, { "id": "OperationDefinition.parameter.binding", "path": "OperationDefinition.parameter.binding", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "OperationDefinition.parameter.binding.id", "path": "OperationDefinition.parameter.binding.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.parameter.binding.extension", "path": "OperationDefinition.parameter.binding.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "OperationDefinition.parameter.binding.modifierExtension", "path": "OperationDefinition.parameter.binding.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "OperationDefinition.parameter.binding.strength", "path": "OperationDefinition.parameter.binding.strength", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Indication of the degree of conformance expectations associated with a binding.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/binding-strength" } } }, { "id": "OperationDefinition.parameter.binding.valueSet[x]", "path": "OperationDefinition.parameter.binding.valueSet[x]", "min": 1, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet" } ] }, { "id": "OperationDefinition.parameter.part", "path": "OperationDefinition.parameter.part", "min": 0, "max": "*", "contentReference": "#OperationDefinition.parameter", "condition": [ "opd-1" ] }, { "id": "OperationDefinition.overload", "path": "OperationDefinition.overload", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "OperationDefinition.overload.id", "path": "OperationDefinition.overload.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.overload.extension", "path": "OperationDefinition.overload.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "OperationDefinition.overload.modifierExtension", "path": "OperationDefinition.overload.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "OperationDefinition.overload.parameterName", "path": "OperationDefinition.overload.parameterName", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.overload.comment", "path": "OperationDefinition.overload.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "OperationDefinition", "path": "OperationDefinition", "min": 0, "max": "*" }, { "id": "OperationDefinition.url", "path": "OperationDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "OperationDefinition.version", "path": "OperationDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationDefinition.name", "path": "OperationDefinition.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationDefinition.status", "path": "OperationDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "OperationDefinition.kind", "path": "OperationDefinition.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Whether an operation is a normal operation or a query.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/operation-kind" } } }, { "id": "OperationDefinition.experimental", "path": "OperationDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "OperationDefinition.date", "path": "OperationDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "OperationDefinition.publisher", "path": "OperationDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationDefinition.contact", "path": "OperationDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "OperationDefinition.description", "path": "OperationDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "OperationDefinition.useContext", "path": "OperationDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "OperationDefinition.jurisdiction", "path": "OperationDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "OperationDefinition.purpose", "path": "OperationDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "OperationDefinition.idempotent", "path": "OperationDefinition.idempotent", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "OperationDefinition.code", "path": "OperationDefinition.code", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "OperationDefinition.comment", "path": "OperationDefinition.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.base", "path": "OperationDefinition.base", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition" } ] }, { "id": "OperationDefinition.resource", "path": "OperationDefinition.resource", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "OperationDefinition.system", "path": "OperationDefinition.system", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "OperationDefinition.type", "path": "OperationDefinition.type", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "OperationDefinition.instance", "path": "OperationDefinition.instance", "min": 1, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "OperationDefinition.parameter", "path": "OperationDefinition.parameter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "opd-1", "severity": "error", "human": "Either a type must be provided, or parts", "expression": "type.exists() or part.exists()", "xpath": "exists(f:type) or exists(f:part)" }, { "key": "opd-2", "severity": "error", "human": "A search type can only be specified for parameters of type string", "expression": "searchType implies type = 'string'", "xpath": "not(exists(f:searchType)) or (f:type/@value = 'string')" } ] }, { "id": "OperationDefinition.parameter.name", "path": "OperationDefinition.parameter.name", "min": 1, "max": "1", "type": [ { "code": "code" } ] }, { "id": "OperationDefinition.parameter.use", "path": "OperationDefinition.parameter.use", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Whether an operation parameter is an input or an output parameter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/operation-parameter-use" } } }, { "id": "OperationDefinition.parameter.min", "path": "OperationDefinition.parameter.min", "min": 1, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "OperationDefinition.parameter.max", "path": "OperationDefinition.parameter.max", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.parameter.documentation", "path": "OperationDefinition.parameter.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.parameter.type", "path": "OperationDefinition.parameter.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "opd-1" ], "binding": { "strength": "required", "description": "Either an abstract type, a resource or a data type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/all-types" } } }, { "id": "OperationDefinition.parameter.searchType", "path": "OperationDefinition.parameter.searchType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "opd-2" ], "binding": { "strength": "required", "description": "Data types allowed to be used for search parameters.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-param-type" } } }, { "id": "OperationDefinition.parameter.profile", "path": "OperationDefinition.parameter.profile", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition" } ] }, { "id": "OperationDefinition.parameter.binding", "path": "OperationDefinition.parameter.binding", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "OperationDefinition.parameter.binding.strength", "path": "OperationDefinition.parameter.binding.strength", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Indication of the degree of conformance expectations associated with a binding.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/binding-strength" } } }, { "id": "OperationDefinition.parameter.binding.valueSet[x]", "path": "OperationDefinition.parameter.binding.valueSet[x]", "min": 1, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet" } ] }, { "id": "OperationDefinition.parameter.part", "path": "OperationDefinition.parameter.part", "min": 0, "max": "*", "contentReference": "#OperationDefinition.parameter", "condition": [ "opd-1" ] }, { "id": "OperationDefinition.overload", "path": "OperationDefinition.overload", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "OperationDefinition.overload.parameterName", "path": "OperationDefinition.overload.parameterName", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "OperationDefinition.overload.comment", "path": "OperationDefinition.overload.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/OperationOutcome", "resource": { "resourceType": "StructureDefinition", "id": "OperationOutcome", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Infrastructure/Exchange" } ], "url": "http://hl7.org/fhir/StructureDefinition/OperationOutcome", "name": "OperationOutcome", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "OperationOutcome", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "OperationOutcome", "path": "OperationOutcome", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "OperationOutcome.id", "path": "OperationOutcome.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "OperationOutcome.meta", "path": "OperationOutcome.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "OperationOutcome.implicitRules", "path": "OperationOutcome.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "OperationOutcome.language", "path": "OperationOutcome.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "OperationOutcome.text", "path": "OperationOutcome.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "OperationOutcome.contained", "path": "OperationOutcome.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "OperationOutcome.extension", "path": "OperationOutcome.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "OperationOutcome.modifierExtension", "path": "OperationOutcome.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "OperationOutcome.issue", "path": "OperationOutcome.issue", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "OperationOutcome.issue.id", "path": "OperationOutcome.issue.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "OperationOutcome.issue.extension", "path": "OperationOutcome.issue.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "OperationOutcome.issue.modifierExtension", "path": "OperationOutcome.issue.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "OperationOutcome.issue.severity", "path": "OperationOutcome.issue.severity", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "How the issue affects the success of the action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/issue-severity" } } }, { "id": "OperationOutcome.issue.code", "path": "OperationOutcome.issue.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "A code that describes the type of issue.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/issue-type" } } }, { "id": "OperationOutcome.issue.details", "path": "OperationOutcome.issue.details", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that provides details as the exact issue.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/operation-outcome" } } }, { "id": "OperationOutcome.issue.diagnostics", "path": "OperationOutcome.issue.diagnostics", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationOutcome.issue.location", "path": "OperationOutcome.issue.location", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationOutcome.issue.expression", "path": "OperationOutcome.issue.expression", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "OperationOutcome", "path": "OperationOutcome", "min": 0, "max": "*" }, { "id": "OperationOutcome.issue", "path": "OperationOutcome.issue", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "OperationOutcome.issue.severity", "path": "OperationOutcome.issue.severity", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "How the issue affects the success of the action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/issue-severity" } } }, { "id": "OperationOutcome.issue.code", "path": "OperationOutcome.issue.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "A code that describes the type of issue.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/issue-type" } } }, { "id": "OperationOutcome.issue.details", "path": "OperationOutcome.issue.details", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that provides details as the exact issue.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/operation-outcome" } } }, { "id": "OperationOutcome.issue.diagnostics", "path": "OperationOutcome.issue.diagnostics", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationOutcome.issue.location", "path": "OperationOutcome.issue.location", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "OperationOutcome.issue.expression", "path": "OperationOutcome.issue.expression", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Organization", "resource": { "resourceType": "StructureDefinition", "id": "Organization", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Entities" } ], "url": "http://hl7.org/fhir/StructureDefinition/Organization", "name": "Organization", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Organization", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Organization", "path": "Organization", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "org-1", "severity": "error", "human": "The organization SHALL at least have a name or an id, and possibly more than one", "expression": "(identifier.count() + name.count()) > 0", "xpath": "count(f:identifier | f:name) > 0" } ] }, { "id": "Organization.id", "path": "Organization.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Organization.meta", "path": "Organization.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Organization.implicitRules", "path": "Organization.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Organization.language", "path": "Organization.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Organization.text", "path": "Organization.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Organization.contained", "path": "Organization.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Organization.extension", "path": "Organization.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Organization.modifierExtension", "path": "Organization.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Organization.identifier", "path": "Organization.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "condition": [ "org-1" ], "isSummary": true }, { "id": "Organization.active", "path": "Organization.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "Organization.type", "path": "Organization.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Used to categorize the organization", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/organization-type" } } }, { "id": "Organization.name", "path": "Organization.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "org-1" ], "isSummary": true }, { "id": "Organization.alias", "path": "Organization.alias", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "Organization.telecom", "path": "Organization.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "condition": [ "org-3" ], "constraint": [ { "key": "org-3", "severity": "error", "human": "The telecom of an organization can never be of use 'home'", "expression": "where(use = 'home').empty()", "xpath": "count(f:use[@value='home']) = 0" } ] }, { "id": "Organization.address", "path": "Organization.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ], "condition": [ "org-2" ], "constraint": [ { "key": "org-2", "severity": "error", "human": "An address of an organization can never be of use 'home'", "expression": "where(use = 'home').empty()", "xpath": "count(f:use[@value='home']) = 0" } ] }, { "id": "Organization.partOf", "path": "Organization.partOf", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Organization.contact", "path": "Organization.contact", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Organization.contact.id", "path": "Organization.contact.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Organization.contact.extension", "path": "Organization.contact.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Organization.contact.modifierExtension", "path": "Organization.contact.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Organization.contact.purpose", "path": "Organization.contact.purpose", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The purpose for which you would contact a contact party", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contactentity-type" } } }, { "id": "Organization.contact.name", "path": "Organization.contact.name", "min": 0, "max": "1", "type": [ { "code": "HumanName" } ] }, { "id": "Organization.contact.telecom", "path": "Organization.contact.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Organization.contact.address", "path": "Organization.contact.address", "min": 0, "max": "1", "type": [ { "code": "Address" } ] }, { "id": "Organization.endpoint", "path": "Organization.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] } ] }, "differential": { "element": [ { "id": "Organization", "path": "Organization", "min": 0, "max": "*", "constraint": [ { "key": "org-1", "severity": "error", "human": "The organization SHALL at least have a name or an id, and possibly more than one", "expression": "(identifier.count() + name.count()) > 0", "xpath": "count(f:identifier | f:name) > 0" } ] }, { "id": "Organization.identifier", "path": "Organization.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "condition": [ "org-1" ], "isSummary": true }, { "id": "Organization.active", "path": "Organization.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "Organization.type", "path": "Organization.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Used to categorize the organization", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/organization-type" } } }, { "id": "Organization.name", "path": "Organization.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "org-1" ], "isSummary": true }, { "id": "Organization.alias", "path": "Organization.alias", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "Organization.telecom", "path": "Organization.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "condition": [ "org-3" ], "constraint": [ { "key": "org-3", "severity": "error", "human": "The telecom of an organization can never be of use 'home'", "expression": "where(use = 'home').empty()", "xpath": "count(f:use[@value='home']) = 0" } ] }, { "id": "Organization.address", "path": "Organization.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ], "condition": [ "org-2" ], "constraint": [ { "key": "org-2", "severity": "error", "human": "An address of an organization can never be of use 'home'", "expression": "where(use = 'home').empty()", "xpath": "count(f:use[@value='home']) = 0" } ] }, { "id": "Organization.partOf", "path": "Organization.partOf", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Organization.contact", "path": "Organization.contact", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Organization.contact.purpose", "path": "Organization.contact.purpose", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The purpose for which you would contact a contact party", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/contactentity-type" } } }, { "id": "Organization.contact.name", "path": "Organization.contact.name", "min": 0, "max": "1", "type": [ { "code": "HumanName" } ] }, { "id": "Organization.contact.telecom", "path": "Organization.contact.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Organization.contact.address", "path": "Organization.contact.address", "min": 0, "max": "1", "type": [ { "code": "Address" } ] }, { "id": "Organization.endpoint", "path": "Organization.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Patient", "resource": { "resourceType": "StructureDefinition", "id": "Patient", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 3 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Individuals" } ], "url": "http://hl7.org/fhir/StructureDefinition/Patient", "name": "Patient", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Tracking patient is the center of the healthcare process.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Patient", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Patient", "path": "Patient", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Patient.id", "path": "Patient.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Patient.meta", "path": "Patient.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Patient.implicitRules", "path": "Patient.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.language", "path": "Patient.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Patient.text", "path": "Patient.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Patient.contained", "path": "Patient.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Patient.extension", "path": "Patient.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Patient.modifierExtension", "path": "Patient.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Patient.identifier", "path": "Patient.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Patient.active", "path": "Patient.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "Patient.name", "path": "Patient.name", "min": 0, "max": "*", "type": [ { "code": "HumanName" } ], "isSummary": true }, { "id": "Patient.telecom", "path": "Patient.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Patient.gender", "path": "Patient.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "Patient.birthDate", "path": "Patient.birthDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Patient.deceased[x]", "path": "Patient.deceased[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "dateTime" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.address", "path": "Patient.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ], "isSummary": true }, { "id": "Patient.maritalStatus", "path": "Patient.maritalStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The domestic partnership status of a person.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/marital-status" } } }, { "id": "Patient.multipleBirth[x]", "path": "Patient.multipleBirth[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "integer" } ] }, { "id": "Patient.photo", "path": "Patient.photo", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] }, { "id": "Patient.contact", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Contact" } ], "path": "Patient.contact", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "pat-1", "severity": "error", "human": "SHALL at least contain a contact's details or a reference to an organization", "expression": "name.exists() or telecom.exists() or address.exists() or organization.exists()", "xpath": "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)" } ] }, { "id": "Patient.contact.id", "path": "Patient.contact.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Patient.contact.extension", "path": "Patient.contact.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Patient.contact.modifierExtension", "path": "Patient.contact.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.contact.relationship", "path": "Patient.contact.relationship", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The nature of the relationship between a patient and a contact person for that patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0131" } } }, { "id": "Patient.contact.name", "path": "Patient.contact.name", "min": 0, "max": "1", "type": [ { "code": "HumanName" } ] }, { "id": "Patient.contact.telecom", "path": "Patient.contact.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Patient.contact.address", "path": "Patient.contact.address", "min": 0, "max": "1", "type": [ { "code": "Address" } ] }, { "id": "Patient.contact.gender", "path": "Patient.contact.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "Patient.contact.organization", "path": "Patient.contact.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "condition": [ "pat-1" ] }, { "id": "Patient.contact.period", "path": "Patient.contact.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Patient.animal", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Animal" } ], "path": "Patient.animal", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.animal.id", "path": "Patient.animal.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Patient.animal.extension", "path": "Patient.animal.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Patient.animal.modifierExtension", "path": "Patient.animal.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.animal.species", "path": "Patient.animal.species", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The species of an animal.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/animal-species" } } }, { "id": "Patient.animal.breed", "path": "Patient.animal.breed", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The breed of an animal.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/animal-breeds" } } }, { "id": "Patient.animal.genderStatus", "path": "Patient.animal.genderStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The state of the animal's reproductive organs.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/animal-genderstatus" } } }, { "id": "Patient.communication", "path": "Patient.communication", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Patient.communication.id", "path": "Patient.communication.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Patient.communication.extension", "path": "Patient.communication.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Patient.communication.modifierExtension", "path": "Patient.communication.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.communication.language", "path": "Patient.communication.language", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Patient.communication.preferred", "path": "Patient.communication.preferred", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Patient.generalPractitioner", "path": "Patient.generalPractitioner", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Patient.managingOrganization", "path": "Patient.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Patient.link", "path": "Patient.link", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.link.id", "path": "Patient.link.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Patient.link.extension", "path": "Patient.link.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Patient.link.modifierExtension", "path": "Patient.link.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.link.other", "path": "Patient.link.other", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.link.type", "path": "Patient.link.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The type of link between this patient resource and another patient resource.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/link-type" } } } ] }, "differential": { "element": [ { "id": "Patient", "path": "Patient", "min": 0, "max": "*" }, { "id": "Patient.identifier", "path": "Patient.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Patient.active", "path": "Patient.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "Patient.name", "path": "Patient.name", "min": 0, "max": "*", "type": [ { "code": "HumanName" } ], "isSummary": true }, { "id": "Patient.telecom", "path": "Patient.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Patient.gender", "path": "Patient.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "Patient.birthDate", "path": "Patient.birthDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Patient.deceased[x]", "path": "Patient.deceased[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "dateTime" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.address", "path": "Patient.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ], "isSummary": true }, { "id": "Patient.maritalStatus", "path": "Patient.maritalStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The domestic partnership status of a person.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/marital-status" } } }, { "id": "Patient.multipleBirth[x]", "path": "Patient.multipleBirth[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "integer" } ] }, { "id": "Patient.photo", "path": "Patient.photo", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] }, { "id": "Patient.contact", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Contact" } ], "path": "Patient.contact", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "pat-1", "severity": "error", "human": "SHALL at least contain a contact's details or a reference to an organization", "expression": "name.exists() or telecom.exists() or address.exists() or organization.exists()", "xpath": "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)" } ] }, { "id": "Patient.contact.relationship", "path": "Patient.contact.relationship", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "description": "The nature of the relationship between a patient and a contact person for that patient.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0131" } } }, { "id": "Patient.contact.name", "path": "Patient.contact.name", "min": 0, "max": "1", "type": [ { "code": "HumanName" } ] }, { "id": "Patient.contact.telecom", "path": "Patient.contact.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ] }, { "id": "Patient.contact.address", "path": "Patient.contact.address", "min": 0, "max": "1", "type": [ { "code": "Address" } ] }, { "id": "Patient.contact.gender", "path": "Patient.contact.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "Patient.contact.organization", "path": "Patient.contact.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "condition": [ "pat-1" ] }, { "id": "Patient.contact.period", "path": "Patient.contact.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Patient.animal", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Animal" } ], "path": "Patient.animal", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.animal.species", "path": "Patient.animal.species", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The species of an animal.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/animal-species" } } }, { "id": "Patient.animal.breed", "path": "Patient.animal.breed", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The breed of an animal.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/animal-breeds" } } }, { "id": "Patient.animal.genderStatus", "path": "Patient.animal.genderStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The state of the animal's reproductive organs.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/animal-genderstatus" } } }, { "id": "Patient.communication", "path": "Patient.communication", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Patient.communication.language", "path": "Patient.communication.language", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Patient.communication.preferred", "path": "Patient.communication.preferred", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "Patient.generalPractitioner", "path": "Patient.generalPractitioner", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "Patient.managingOrganization", "path": "Patient.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Patient.link", "path": "Patient.link", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.link.other", "path": "Patient.link.other", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isModifier": true, "isSummary": true }, { "id": "Patient.link.type", "path": "Patient.link.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The type of link between this patient resource and another patient resource.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/link-type" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/PaymentNotice", "resource": { "resourceType": "StructureDefinition", "id": "PaymentNotice", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Payment" } ], "url": "http://hl7.org/fhir/StructureDefinition/PaymentNotice", "name": "PaymentNotice", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "PaymentNotice", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "PaymentNotice", "path": "PaymentNotice", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "PaymentNotice.id", "path": "PaymentNotice.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "PaymentNotice.meta", "path": "PaymentNotice.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "PaymentNotice.implicitRules", "path": "PaymentNotice.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "PaymentNotice.language", "path": "PaymentNotice.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "PaymentNotice.text", "path": "PaymentNotice.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "PaymentNotice.contained", "path": "PaymentNotice.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "PaymentNotice.extension", "path": "PaymentNotice.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PaymentNotice.modifierExtension", "path": "PaymentNotice.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "PaymentNotice.identifier", "path": "PaymentNotice.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "PaymentNotice.status", "path": "PaymentNotice.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "PaymentNotice.request", "path": "PaymentNotice.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "PaymentNotice.response", "path": "PaymentNotice.response", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "PaymentNotice.statusDate", "path": "PaymentNotice.statusDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "PaymentNotice.created", "path": "PaymentNotice.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "PaymentNotice.target", "path": "PaymentNotice.target", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentNotice.provider", "path": "PaymentNotice.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "PaymentNotice.organization", "path": "PaymentNotice.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentNotice.paymentStatus", "path": "PaymentNotice.paymentStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The payment conveyance status codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payment-status" } } } ] }, "differential": { "element": [ { "id": "PaymentNotice", "path": "PaymentNotice", "min": 0, "max": "*" }, { "id": "PaymentNotice.identifier", "path": "PaymentNotice.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "PaymentNotice.status", "path": "PaymentNotice.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "PaymentNotice.request", "path": "PaymentNotice.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "PaymentNotice.response", "path": "PaymentNotice.response", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "PaymentNotice.statusDate", "path": "PaymentNotice.statusDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "PaymentNotice.created", "path": "PaymentNotice.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "PaymentNotice.target", "path": "PaymentNotice.target", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentNotice.provider", "path": "PaymentNotice.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "PaymentNotice.organization", "path": "PaymentNotice.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentNotice.paymentStatus", "path": "PaymentNotice.paymentStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The payment conveyance status codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payment-status" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation", "resource": { "resourceType": "StructureDefinition", "id": "PaymentReconciliation", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Financial/Payment" } ], "url": "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation", "name": "PaymentReconciliation", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "PaymentReconciliation", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "PaymentReconciliation", "path": "PaymentReconciliation", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "PaymentReconciliation.id", "path": "PaymentReconciliation.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "PaymentReconciliation.meta", "path": "PaymentReconciliation.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "PaymentReconciliation.implicitRules", "path": "PaymentReconciliation.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "PaymentReconciliation.language", "path": "PaymentReconciliation.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "PaymentReconciliation.text", "path": "PaymentReconciliation.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "PaymentReconciliation.contained", "path": "PaymentReconciliation.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "PaymentReconciliation.extension", "path": "PaymentReconciliation.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PaymentReconciliation.modifierExtension", "path": "PaymentReconciliation.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "PaymentReconciliation.identifier", "path": "PaymentReconciliation.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "PaymentReconciliation.status", "path": "PaymentReconciliation.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "PaymentReconciliation.period", "path": "PaymentReconciliation.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "PaymentReconciliation.created", "path": "PaymentReconciliation.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "PaymentReconciliation.organization", "path": "PaymentReconciliation.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentReconciliation.request", "path": "PaymentReconciliation.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcessRequest" } ] }, { "id": "PaymentReconciliation.outcome", "path": "PaymentReconciliation.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The outcome of the processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "PaymentReconciliation.disposition", "path": "PaymentReconciliation.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PaymentReconciliation.requestProvider", "path": "PaymentReconciliation.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "PaymentReconciliation.requestOrganization", "path": "PaymentReconciliation.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentReconciliation.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Details" } ], "path": "PaymentReconciliation.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "PaymentReconciliation.detail.id", "path": "PaymentReconciliation.detail.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "PaymentReconciliation.detail.extension", "path": "PaymentReconciliation.detail.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PaymentReconciliation.detail.modifierExtension", "path": "PaymentReconciliation.detail.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "PaymentReconciliation.detail.type", "path": "PaymentReconciliation.detail.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason for the amount: payment, adjustment, advance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payment-type" } } }, { "id": "PaymentReconciliation.detail.request", "path": "PaymentReconciliation.detail.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "PaymentReconciliation.detail.response", "path": "PaymentReconciliation.detail.response", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "PaymentReconciliation.detail.submitter", "path": "PaymentReconciliation.detail.submitter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentReconciliation.detail.payee", "path": "PaymentReconciliation.detail.payee", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentReconciliation.detail.date", "path": "PaymentReconciliation.detail.date", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "PaymentReconciliation.detail.amount", "path": "PaymentReconciliation.detail.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "PaymentReconciliation.form", "path": "PaymentReconciliation.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "PaymentReconciliation.total", "path": "PaymentReconciliation.total", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "PaymentReconciliation.note", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Notes" } ], "path": "PaymentReconciliation.note", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "PaymentReconciliation.note.id", "path": "PaymentReconciliation.note.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "PaymentReconciliation.note.extension", "path": "PaymentReconciliation.note.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PaymentReconciliation.note.modifierExtension", "path": "PaymentReconciliation.note.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "PaymentReconciliation.note.type", "path": "PaymentReconciliation.note.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The presentation types of notes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/note-type" } } }, { "id": "PaymentReconciliation.note.text", "path": "PaymentReconciliation.note.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "PaymentReconciliation", "path": "PaymentReconciliation", "min": 0, "max": "*" }, { "id": "PaymentReconciliation.identifier", "path": "PaymentReconciliation.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "PaymentReconciliation.status", "path": "PaymentReconciliation.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "PaymentReconciliation.period", "path": "PaymentReconciliation.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "PaymentReconciliation.created", "path": "PaymentReconciliation.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "PaymentReconciliation.organization", "path": "PaymentReconciliation.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentReconciliation.request", "path": "PaymentReconciliation.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcessRequest" } ] }, { "id": "PaymentReconciliation.outcome", "path": "PaymentReconciliation.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The outcome of the processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/remittance-outcome" } } }, { "id": "PaymentReconciliation.disposition", "path": "PaymentReconciliation.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PaymentReconciliation.requestProvider", "path": "PaymentReconciliation.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "PaymentReconciliation.requestOrganization", "path": "PaymentReconciliation.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentReconciliation.detail", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Details" } ], "path": "PaymentReconciliation.detail", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "PaymentReconciliation.detail.type", "path": "PaymentReconciliation.detail.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The reason for the amount: payment, adjustment, advance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/payment-type" } } }, { "id": "PaymentReconciliation.detail.request", "path": "PaymentReconciliation.detail.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "PaymentReconciliation.detail.response", "path": "PaymentReconciliation.detail.response", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "PaymentReconciliation.detail.submitter", "path": "PaymentReconciliation.detail.submitter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentReconciliation.detail.payee", "path": "PaymentReconciliation.detail.payee", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "PaymentReconciliation.detail.date", "path": "PaymentReconciliation.detail.date", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "PaymentReconciliation.detail.amount", "path": "PaymentReconciliation.detail.amount", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "PaymentReconciliation.form", "path": "PaymentReconciliation.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "PaymentReconciliation.total", "path": "PaymentReconciliation.total", "min": 0, "max": "1", "type": [ { "code": "Money" } ] }, { "id": "PaymentReconciliation.note", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Notes" } ], "path": "PaymentReconciliation.note", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "PaymentReconciliation.note.type", "path": "PaymentReconciliation.note.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The presentation types of notes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/note-type" } } }, { "id": "PaymentReconciliation.note.text", "path": "PaymentReconciliation.note.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Person", "resource": { "resourceType": "StructureDefinition", "id": "Person", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Individuals" } ], "url": "http://hl7.org/fhir/StructureDefinition/Person", "name": "Person", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Need to track persons potentially across multiple roles.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Person", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Person", "path": "Person", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Person.id", "path": "Person.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Person.meta", "path": "Person.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Person.implicitRules", "path": "Person.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Person.language", "path": "Person.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Person.text", "path": "Person.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Person.contained", "path": "Person.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Person.extension", "path": "Person.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Person.modifierExtension", "path": "Person.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Person.identifier", "path": "Person.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Person.name", "path": "Person.name", "min": 0, "max": "*", "type": [ { "code": "HumanName" } ], "isSummary": true }, { "id": "Person.telecom", "path": "Person.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Person.gender", "path": "Person.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "Person.birthDate", "path": "Person.birthDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Person.address", "path": "Person.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ] }, { "id": "Person.photo", "path": "Person.photo", "min": 0, "max": "1", "type": [ { "code": "Attachment" } ] }, { "id": "Person.managingOrganization", "path": "Person.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Person.active", "path": "Person.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "Person.link", "path": "Person.link", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Person.link.id", "path": "Person.link.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Person.link.extension", "path": "Person.link.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Person.link.modifierExtension", "path": "Person.link.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Person.link.target", "path": "Person.link.target", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Person" } ] }, { "id": "Person.link.assurance", "path": "Person.link.assurance", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The level of confidence that this link represents the same actual person, based on NIST Authentication Levels.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/identity-assuranceLevel" } } } ] }, "differential": { "element": [ { "id": "Person", "path": "Person", "min": 0, "max": "*" }, { "id": "Person.identifier", "path": "Person.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Person.name", "path": "Person.name", "min": 0, "max": "*", "type": [ { "code": "HumanName" } ], "isSummary": true }, { "id": "Person.telecom", "path": "Person.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Person.gender", "path": "Person.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "Person.birthDate", "path": "Person.birthDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Person.address", "path": "Person.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ] }, { "id": "Person.photo", "path": "Person.photo", "min": 0, "max": "1", "type": [ { "code": "Attachment" } ] }, { "id": "Person.managingOrganization", "path": "Person.managingOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Person.active", "path": "Person.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "Person.link", "path": "Person.link", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Person.link.target", "path": "Person.link.target", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Person" } ] }, { "id": "Person.link.assurance", "path": "Person.link.assurance", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The level of confidence that this link represents the same actual person, based on NIST Authentication Levels.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/identity-assuranceLevel" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "resource": { "resourceType": "StructureDefinition", "id": "PlanDefinition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical Reasoning" } ], "url": "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "name": "PlanDefinition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "PlanDefinition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "PlanDefinition", "path": "PlanDefinition", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "PlanDefinition.id", "path": "PlanDefinition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "PlanDefinition.meta", "path": "PlanDefinition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "PlanDefinition.implicitRules", "path": "PlanDefinition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "PlanDefinition.language", "path": "PlanDefinition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "PlanDefinition.text", "path": "PlanDefinition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "PlanDefinition.contained", "path": "PlanDefinition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "PlanDefinition.extension", "path": "PlanDefinition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PlanDefinition.modifierExtension", "path": "PlanDefinition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "PlanDefinition.url", "path": "PlanDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "PlanDefinition.identifier", "path": "PlanDefinition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "PlanDefinition.version", "path": "PlanDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "PlanDefinition.name", "path": "PlanDefinition.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "PlanDefinition.title", "path": "PlanDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "PlanDefinition.type", "path": "PlanDefinition.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The type of PlanDefinition", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/plan-definition-type" } } }, { "id": "PlanDefinition.status", "path": "PlanDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "PlanDefinition.experimental", "path": "PlanDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "PlanDefinition.date", "path": "PlanDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "PlanDefinition.description", "path": "PlanDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "PlanDefinition.purpose", "path": "PlanDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "PlanDefinition.usage", "path": "PlanDefinition.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.approvalDate", "path": "PlanDefinition.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "PlanDefinition.lastReviewDate", "path": "PlanDefinition.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "PlanDefinition.effectivePeriod", "path": "PlanDefinition.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "PlanDefinition.useContext", "path": "PlanDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "PlanDefinition.jurisdiction", "path": "PlanDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "PlanDefinition.topic", "path": "PlanDefinition.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "PlanDefinition.contributor", "path": "PlanDefinition.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "PlanDefinition.publisher", "path": "PlanDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "PlanDefinition.contact", "path": "PlanDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "PlanDefinition.copyright", "path": "PlanDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "PlanDefinition.relatedArtifact", "path": "PlanDefinition.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "PlanDefinition.library", "path": "PlanDefinition.library", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Library" } ] }, { "id": "PlanDefinition.actionDefinition", "path": "PlanDefinition.actionDefinition", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "PlanDefinition.actionDefinition.id", "path": "PlanDefinition.actionDefinition.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.extension", "path": "PlanDefinition.actionDefinition.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PlanDefinition.actionDefinition.modifierExtension", "path": "PlanDefinition.actionDefinition.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "PlanDefinition.actionDefinition.actionIdentifier", "path": "PlanDefinition.actionDefinition.actionIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "PlanDefinition.actionDefinition.label", "path": "PlanDefinition.actionDefinition.label", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.title", "path": "PlanDefinition.actionDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.description", "path": "PlanDefinition.actionDefinition.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.textEquivalent", "path": "PlanDefinition.actionDefinition.textEquivalent", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.code", "path": "PlanDefinition.actionDefinition.code", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "PlanDefinition.actionDefinition.documentation", "path": "PlanDefinition.actionDefinition.documentation", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "PlanDefinition.actionDefinition.triggerDefinition", "path": "PlanDefinition.actionDefinition.triggerDefinition", "min": 0, "max": "*", "type": [ { "code": "TriggerDefinition" } ] }, { "id": "PlanDefinition.actionDefinition.condition", "path": "PlanDefinition.actionDefinition.condition", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "PlanDefinition.actionDefinition.condition.id", "path": "PlanDefinition.actionDefinition.condition.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.condition.extension", "path": "PlanDefinition.actionDefinition.condition.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PlanDefinition.actionDefinition.condition.modifierExtension", "path": "PlanDefinition.actionDefinition.condition.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "PlanDefinition.actionDefinition.condition.kind", "path": "PlanDefinition.actionDefinition.condition.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines the kinds of conditions that can appear on actions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-condition-kind" } } }, { "id": "PlanDefinition.actionDefinition.condition.description", "path": "PlanDefinition.actionDefinition.condition.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.condition.language", "path": "PlanDefinition.actionDefinition.condition.language", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.condition.expression", "path": "PlanDefinition.actionDefinition.condition.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.input", "path": "PlanDefinition.actionDefinition.input", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] }, { "id": "PlanDefinition.actionDefinition.output", "path": "PlanDefinition.actionDefinition.output", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] }, { "id": "PlanDefinition.actionDefinition.relatedAction", "path": "PlanDefinition.actionDefinition.relatedAction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "PlanDefinition.actionDefinition.relatedAction.id", "path": "PlanDefinition.actionDefinition.relatedAction.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.relatedAction.extension", "path": "PlanDefinition.actionDefinition.relatedAction.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PlanDefinition.actionDefinition.relatedAction.modifierExtension", "path": "PlanDefinition.actionDefinition.relatedAction.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "PlanDefinition.actionDefinition.relatedAction.actionIdentifier", "path": "PlanDefinition.actionDefinition.relatedAction.actionIdentifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "PlanDefinition.actionDefinition.relatedAction.relationship", "path": "PlanDefinition.actionDefinition.relatedAction.relationship", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines the types of relationships between actions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-relationship-type" } } }, { "id": "PlanDefinition.actionDefinition.relatedAction.offset[x]", "path": "PlanDefinition.actionDefinition.relatedAction.offset[x]", "min": 0, "max": "1", "type": [ { "code": "Duration" }, { "code": "Range" } ] }, { "id": "PlanDefinition.actionDefinition.timing[x]", "path": "PlanDefinition.actionDefinition.timing[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Duration" }, { "code": "Range" }, { "code": "Timing" } ] }, { "id": "PlanDefinition.actionDefinition.participantType", "path": "PlanDefinition.actionDefinition.participantType", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of participant for the action", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-participant-type" } } }, { "id": "PlanDefinition.actionDefinition.type", "path": "PlanDefinition.actionDefinition.type", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "required", "description": "The type of action to be performed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-type" } } }, { "id": "PlanDefinition.actionDefinition.groupingBehavior", "path": "PlanDefinition.actionDefinition.groupingBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines organization behavior of a group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-grouping-behavior" } } }, { "id": "PlanDefinition.actionDefinition.selectionBehavior", "path": "PlanDefinition.actionDefinition.selectionBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines selection behavior of a group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-selection-behavior" } } }, { "id": "PlanDefinition.actionDefinition.requiredBehavior", "path": "PlanDefinition.actionDefinition.requiredBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines requiredness behavior for selecting an action or an action group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-required-behavior" } } }, { "id": "PlanDefinition.actionDefinition.precheckBehavior", "path": "PlanDefinition.actionDefinition.precheckBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines selection frequency behavior for an action or group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-precheck-behavior" } } }, { "id": "PlanDefinition.actionDefinition.cardinalityBehavior", "path": "PlanDefinition.actionDefinition.cardinalityBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines behavior for an action or a group for how many times that item may be repeated", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-cardinality-behavior" } } }, { "id": "PlanDefinition.actionDefinition.activityDefinition", "path": "PlanDefinition.actionDefinition.activityDefinition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" } ] }, { "id": "PlanDefinition.actionDefinition.transform", "path": "PlanDefinition.actionDefinition.transform", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureMap" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue", "path": "PlanDefinition.actionDefinition.dynamicValue", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.id", "path": "PlanDefinition.actionDefinition.dynamicValue.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.extension", "path": "PlanDefinition.actionDefinition.dynamicValue.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.modifierExtension", "path": "PlanDefinition.actionDefinition.dynamicValue.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "PlanDefinition.actionDefinition.dynamicValue.description", "path": "PlanDefinition.actionDefinition.dynamicValue.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.path", "path": "PlanDefinition.actionDefinition.dynamicValue.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.language", "path": "PlanDefinition.actionDefinition.dynamicValue.language", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.expression", "path": "PlanDefinition.actionDefinition.dynamicValue.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.actionDefinition", "path": "PlanDefinition.actionDefinition.actionDefinition", "min": 0, "max": "*", "contentReference": "#PlanDefinition.actionDefinition" } ] }, "differential": { "element": [ { "id": "PlanDefinition", "path": "PlanDefinition", "min": 0, "max": "*" }, { "id": "PlanDefinition.url", "path": "PlanDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "PlanDefinition.identifier", "path": "PlanDefinition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "PlanDefinition.version", "path": "PlanDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "PlanDefinition.name", "path": "PlanDefinition.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "PlanDefinition.title", "path": "PlanDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "PlanDefinition.type", "path": "PlanDefinition.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The type of PlanDefinition", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/plan-definition-type" } } }, { "id": "PlanDefinition.status", "path": "PlanDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "PlanDefinition.experimental", "path": "PlanDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "PlanDefinition.date", "path": "PlanDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "PlanDefinition.description", "path": "PlanDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "PlanDefinition.purpose", "path": "PlanDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "PlanDefinition.usage", "path": "PlanDefinition.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.approvalDate", "path": "PlanDefinition.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "PlanDefinition.lastReviewDate", "path": "PlanDefinition.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "PlanDefinition.effectivePeriod", "path": "PlanDefinition.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "PlanDefinition.useContext", "path": "PlanDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "PlanDefinition.jurisdiction", "path": "PlanDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "PlanDefinition.topic", "path": "PlanDefinition.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "PlanDefinition.contributor", "path": "PlanDefinition.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "PlanDefinition.publisher", "path": "PlanDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "PlanDefinition.contact", "path": "PlanDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "PlanDefinition.copyright", "path": "PlanDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "PlanDefinition.relatedArtifact", "path": "PlanDefinition.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "PlanDefinition.library", "path": "PlanDefinition.library", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Library" } ] }, { "id": "PlanDefinition.actionDefinition", "path": "PlanDefinition.actionDefinition", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "PlanDefinition.actionDefinition.actionIdentifier", "path": "PlanDefinition.actionDefinition.actionIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "PlanDefinition.actionDefinition.label", "path": "PlanDefinition.actionDefinition.label", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.title", "path": "PlanDefinition.actionDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.description", "path": "PlanDefinition.actionDefinition.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.textEquivalent", "path": "PlanDefinition.actionDefinition.textEquivalent", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.code", "path": "PlanDefinition.actionDefinition.code", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "PlanDefinition.actionDefinition.documentation", "path": "PlanDefinition.actionDefinition.documentation", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "PlanDefinition.actionDefinition.triggerDefinition", "path": "PlanDefinition.actionDefinition.triggerDefinition", "min": 0, "max": "*", "type": [ { "code": "TriggerDefinition" } ] }, { "id": "PlanDefinition.actionDefinition.condition", "path": "PlanDefinition.actionDefinition.condition", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "PlanDefinition.actionDefinition.condition.kind", "path": "PlanDefinition.actionDefinition.condition.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines the kinds of conditions that can appear on actions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-condition-kind" } } }, { "id": "PlanDefinition.actionDefinition.condition.description", "path": "PlanDefinition.actionDefinition.condition.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.condition.language", "path": "PlanDefinition.actionDefinition.condition.language", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.condition.expression", "path": "PlanDefinition.actionDefinition.condition.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.input", "path": "PlanDefinition.actionDefinition.input", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] }, { "id": "PlanDefinition.actionDefinition.output", "path": "PlanDefinition.actionDefinition.output", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] }, { "id": "PlanDefinition.actionDefinition.relatedAction", "path": "PlanDefinition.actionDefinition.relatedAction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "PlanDefinition.actionDefinition.relatedAction.actionIdentifier", "path": "PlanDefinition.actionDefinition.relatedAction.actionIdentifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "PlanDefinition.actionDefinition.relatedAction.relationship", "path": "PlanDefinition.actionDefinition.relatedAction.relationship", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines the types of relationships between actions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-relationship-type" } } }, { "id": "PlanDefinition.actionDefinition.relatedAction.offset[x]", "path": "PlanDefinition.actionDefinition.relatedAction.offset[x]", "min": 0, "max": "1", "type": [ { "code": "Duration" }, { "code": "Range" } ] }, { "id": "PlanDefinition.actionDefinition.timing[x]", "path": "PlanDefinition.actionDefinition.timing[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Duration" }, { "code": "Range" }, { "code": "Timing" } ] }, { "id": "PlanDefinition.actionDefinition.participantType", "path": "PlanDefinition.actionDefinition.participantType", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of participant for the action", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-participant-type" } } }, { "id": "PlanDefinition.actionDefinition.type", "path": "PlanDefinition.actionDefinition.type", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "required", "description": "The type of action to be performed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-type" } } }, { "id": "PlanDefinition.actionDefinition.groupingBehavior", "path": "PlanDefinition.actionDefinition.groupingBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines organization behavior of a group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-grouping-behavior" } } }, { "id": "PlanDefinition.actionDefinition.selectionBehavior", "path": "PlanDefinition.actionDefinition.selectionBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines selection behavior of a group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-selection-behavior" } } }, { "id": "PlanDefinition.actionDefinition.requiredBehavior", "path": "PlanDefinition.actionDefinition.requiredBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines requiredness behavior for selecting an action or an action group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-required-behavior" } } }, { "id": "PlanDefinition.actionDefinition.precheckBehavior", "path": "PlanDefinition.actionDefinition.precheckBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines selection frequency behavior for an action or group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-precheck-behavior" } } }, { "id": "PlanDefinition.actionDefinition.cardinalityBehavior", "path": "PlanDefinition.actionDefinition.cardinalityBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines behavior for an action or a group for how many times that item may be repeated", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-cardinality-behavior" } } }, { "id": "PlanDefinition.actionDefinition.activityDefinition", "path": "PlanDefinition.actionDefinition.activityDefinition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" } ] }, { "id": "PlanDefinition.actionDefinition.transform", "path": "PlanDefinition.actionDefinition.transform", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureMap" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue", "path": "PlanDefinition.actionDefinition.dynamicValue", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.description", "path": "PlanDefinition.actionDefinition.dynamicValue.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.path", "path": "PlanDefinition.actionDefinition.dynamicValue.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.language", "path": "PlanDefinition.actionDefinition.dynamicValue.language", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.dynamicValue.expression", "path": "PlanDefinition.actionDefinition.dynamicValue.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PlanDefinition.actionDefinition.actionDefinition", "path": "PlanDefinition.actionDefinition.actionDefinition", "min": 0, "max": "*", "contentReference": "#PlanDefinition.actionDefinition" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Practitioner", "resource": { "resourceType": "StructureDefinition", "id": "Practitioner", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Individuals" } ], "url": "http://hl7.org/fhir/StructureDefinition/Practitioner", "name": "Practitioner", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Need to track doctors, staff, locums etc. for both healthcare practitioners, funders, etc.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Practitioner", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Practitioner", "path": "Practitioner", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Practitioner.id", "path": "Practitioner.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Practitioner.meta", "path": "Practitioner.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Practitioner.implicitRules", "path": "Practitioner.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Practitioner.language", "path": "Practitioner.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Practitioner.text", "path": "Practitioner.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Practitioner.contained", "path": "Practitioner.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Practitioner.extension", "path": "Practitioner.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Practitioner.modifierExtension", "path": "Practitioner.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Practitioner.identifier", "path": "Practitioner.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Practitioner.active", "path": "Practitioner.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isSummary": true }, { "id": "Practitioner.name", "path": "Practitioner.name", "min": 0, "max": "*", "type": [ { "code": "HumanName" } ], "isSummary": true }, { "id": "Practitioner.telecom", "path": "Practitioner.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Practitioner.address", "path": "Practitioner.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ], "isSummary": true }, { "id": "Practitioner.gender", "path": "Practitioner.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "Practitioner.birthDate", "path": "Practitioner.birthDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Practitioner.photo", "path": "Practitioner.photo", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] }, { "id": "Practitioner.role", "path": "Practitioner.role", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Practitioner.role.id", "path": "Practitioner.role.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Practitioner.role.extension", "path": "Practitioner.role.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Practitioner.role.modifierExtension", "path": "Practitioner.role.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Practitioner.role.organization", "path": "Practitioner.role.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Practitioner.role.code", "path": "Practitioner.role.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The role a person plays representing an organization", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/practitioner-role" } } }, { "id": "Practitioner.role.specialty", "path": "Practitioner.role.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Specific specialty associated with the agency", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty" } } }, { "id": "Practitioner.role.identifier", "path": "Practitioner.role.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Practitioner.role.telecom", "path": "Practitioner.role.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Practitioner.role.period", "path": "Practitioner.role.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Practitioner.role.location", "path": "Practitioner.role.location", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Practitioner.role.healthcareService", "path": "Practitioner.role.healthcareService", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" } ] }, { "id": "Practitioner.role.endpoint", "path": "Practitioner.role.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] }, { "id": "Practitioner.qualification", "path": "Practitioner.qualification", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Practitioner.qualification.id", "path": "Practitioner.qualification.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Practitioner.qualification.extension", "path": "Practitioner.qualification.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Practitioner.qualification.modifierExtension", "path": "Practitioner.qualification.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Practitioner.qualification.identifier", "path": "Practitioner.qualification.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Practitioner.qualification.code", "path": "Practitioner.qualification.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Specific qualification the practitioner has to provide a service", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/anzsco-occupations" } } }, { "id": "Practitioner.qualification.period", "path": "Practitioner.qualification.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Practitioner.qualification.issuer", "path": "Practitioner.qualification.issuer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Practitioner.communication", "path": "Practitioner.communication", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } } ] }, "differential": { "element": [ { "id": "Practitioner", "path": "Practitioner", "min": 0, "max": "*" }, { "id": "Practitioner.identifier", "path": "Practitioner.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Practitioner.active", "path": "Practitioner.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isSummary": true }, { "id": "Practitioner.name", "path": "Practitioner.name", "min": 0, "max": "*", "type": [ { "code": "HumanName" } ], "isSummary": true }, { "id": "Practitioner.telecom", "path": "Practitioner.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Practitioner.address", "path": "Practitioner.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ], "isSummary": true }, { "id": "Practitioner.gender", "path": "Practitioner.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "Practitioner.birthDate", "path": "Practitioner.birthDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "Practitioner.photo", "path": "Practitioner.photo", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] }, { "id": "Practitioner.role", "path": "Practitioner.role", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Practitioner.role.organization", "path": "Practitioner.role.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Practitioner.role.code", "path": "Practitioner.role.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The role a person plays representing an organization", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/practitioner-role" } } }, { "id": "Practitioner.role.specialty", "path": "Practitioner.role.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Specific specialty associated with the agency", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty" } } }, { "id": "Practitioner.role.identifier", "path": "Practitioner.role.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Practitioner.role.telecom", "path": "Practitioner.role.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Practitioner.role.period", "path": "Practitioner.role.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Practitioner.role.location", "path": "Practitioner.role.location", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Practitioner.role.healthcareService", "path": "Practitioner.role.healthcareService", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" } ] }, { "id": "Practitioner.role.endpoint", "path": "Practitioner.role.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] }, { "id": "Practitioner.qualification", "path": "Practitioner.qualification", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Practitioner.qualification.identifier", "path": "Practitioner.qualification.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Practitioner.qualification.code", "path": "Practitioner.qualification.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Specific qualification the practitioner has to provide a service", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/anzsco-occupations" } } }, { "id": "Practitioner.qualification.period", "path": "Practitioner.qualification.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Practitioner.qualification.issuer", "path": "Practitioner.qualification.issuer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Practitioner.communication", "path": "Practitioner.communication", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "resource": { "resourceType": "StructureDefinition", "id": "PractitionerRole", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Individuals" } ], "url": "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "name": "PractitionerRole", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Need to track services that a healthcare provider is able to provide at an organization's location, and the services that they can perform there.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "PractitionerRole", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "PractitionerRole", "path": "PractitionerRole", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "PractitionerRole.id", "path": "PractitionerRole.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "PractitionerRole.meta", "path": "PractitionerRole.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "PractitionerRole.implicitRules", "path": "PractitionerRole.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "PractitionerRole.language", "path": "PractitionerRole.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "PractitionerRole.text", "path": "PractitionerRole.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "PractitionerRole.contained", "path": "PractitionerRole.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "PractitionerRole.extension", "path": "PractitionerRole.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PractitionerRole.modifierExtension", "path": "PractitionerRole.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "PractitionerRole.identifier", "path": "PractitionerRole.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "PractitionerRole.active", "path": "PractitionerRole.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isSummary": true }, { "id": "PractitionerRole.practitioner", "path": "PractitionerRole.practitioner", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "PractitionerRole.organization", "path": "PractitionerRole.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "PractitionerRole.code", "path": "PractitionerRole.code", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The role a person plays representing an organization", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/practitioner-role" } } }, { "id": "PractitionerRole.specialty", "path": "PractitionerRole.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Specific specialty associated with the agency", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "PractitionerRole.location", "path": "PractitionerRole.location", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "PractitionerRole.healthcareService", "path": "PractitionerRole.healthcareService", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" } ] }, { "id": "PractitionerRole.telecom", "path": "PractitionerRole.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "PractitionerRole.period", "path": "PractitionerRole.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "PractitionerRole.availableTime", "path": "PractitionerRole.availableTime", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "PractitionerRole.availableTime.id", "path": "PractitionerRole.availableTime.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "PractitionerRole.availableTime.extension", "path": "PractitionerRole.availableTime.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PractitionerRole.availableTime.modifierExtension", "path": "PractitionerRole.availableTime.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "PractitionerRole.availableTime.daysOfWeek", "path": "PractitionerRole.availableTime.daysOfWeek", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The days of the week.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/days-of-week" } } }, { "id": "PractitionerRole.availableTime.allDay", "path": "PractitionerRole.availableTime.allDay", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "PractitionerRole.availableTime.availableStartTime", "path": "PractitionerRole.availableTime.availableStartTime", "min": 0, "max": "1", "type": [ { "code": "time" } ] }, { "id": "PractitionerRole.availableTime.availableEndTime", "path": "PractitionerRole.availableTime.availableEndTime", "min": 0, "max": "1", "type": [ { "code": "time" } ] }, { "id": "PractitionerRole.notAvailable", "path": "PractitionerRole.notAvailable", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "PractitionerRole.notAvailable.id", "path": "PractitionerRole.notAvailable.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "PractitionerRole.notAvailable.extension", "path": "PractitionerRole.notAvailable.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "PractitionerRole.notAvailable.modifierExtension", "path": "PractitionerRole.notAvailable.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "PractitionerRole.notAvailable.description", "path": "PractitionerRole.notAvailable.description", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PractitionerRole.notAvailable.during", "path": "PractitionerRole.notAvailable.during", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "PractitionerRole.availabilityExceptions", "path": "PractitionerRole.availabilityExceptions", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PractitionerRole.endpoint", "path": "PractitionerRole.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] } ] }, "differential": { "element": [ { "id": "PractitionerRole", "path": "PractitionerRole", "min": 0, "max": "*" }, { "id": "PractitionerRole.identifier", "path": "PractitionerRole.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "PractitionerRole.active", "path": "PractitionerRole.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isSummary": true }, { "id": "PractitionerRole.practitioner", "path": "PractitionerRole.practitioner", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "PractitionerRole.organization", "path": "PractitionerRole.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "PractitionerRole.code", "path": "PractitionerRole.code", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The role a person plays representing an organization", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/practitioner-role" } } }, { "id": "PractitionerRole.specialty", "path": "PractitionerRole.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Specific specialty associated with the agency", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "PractitionerRole.location", "path": "PractitionerRole.location", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "PractitionerRole.healthcareService", "path": "PractitionerRole.healthcareService", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" } ] }, { "id": "PractitionerRole.telecom", "path": "PractitionerRole.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "PractitionerRole.period", "path": "PractitionerRole.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "PractitionerRole.availableTime", "path": "PractitionerRole.availableTime", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "PractitionerRole.availableTime.daysOfWeek", "path": "PractitionerRole.availableTime.daysOfWeek", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The days of the week.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/days-of-week" } } }, { "id": "PractitionerRole.availableTime.allDay", "path": "PractitionerRole.availableTime.allDay", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "PractitionerRole.availableTime.availableStartTime", "path": "PractitionerRole.availableTime.availableStartTime", "min": 0, "max": "1", "type": [ { "code": "time" } ] }, { "id": "PractitionerRole.availableTime.availableEndTime", "path": "PractitionerRole.availableTime.availableEndTime", "min": 0, "max": "1", "type": [ { "code": "time" } ] }, { "id": "PractitionerRole.notAvailable", "path": "PractitionerRole.notAvailable", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "PractitionerRole.notAvailable.description", "path": "PractitionerRole.notAvailable.description", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PractitionerRole.notAvailable.during", "path": "PractitionerRole.notAvailable.during", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "PractitionerRole.availabilityExceptions", "path": "PractitionerRole.availabilityExceptions", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "PractitionerRole.endpoint", "path": "PractitionerRole.endpoint", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Procedure", "resource": { "resourceType": "StructureDefinition", "id": "Procedure", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/General" } ], "url": "http://hl7.org/fhir/StructureDefinition/Procedure", "name": "Procedure", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Procedure", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Procedure", "path": "Procedure", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "pro-1", "severity": "error", "human": "Reason not performed is only permitted if notPerformed indicator is true", "expression": "reasonNotPerformed.empty() or notPerformed = true", "xpath": "not(exists(f:reasonNotPerformed)) or f:notPerformed/@value=true()" } ] }, { "id": "Procedure.id", "path": "Procedure.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Procedure.meta", "path": "Procedure.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Procedure.implicitRules", "path": "Procedure.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Procedure.language", "path": "Procedure.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Procedure.text", "path": "Procedure.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Procedure.contained", "path": "Procedure.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Procedure.extension", "path": "Procedure.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Procedure.modifierExtension", "path": "Procedure.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Procedure.identifier", "path": "Procedure.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Procedure.status", "path": "Procedure.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the procedure.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-status" } } }, { "id": "Procedure.category", "path": "Procedure.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that classifies a procedure for searching, sorting and display purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-category" } } }, { "id": "Procedure.code", "path": "Procedure.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code to identify a specific procedure .", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-code" } } }, { "id": "Procedure.subject", "path": "Procedure.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "Procedure.encounter", "path": "Procedure.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "Procedure.performed[x]", "path": "Procedure.performed[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "Procedure.performer", "path": "Procedure.performer", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Procedure.performer.id", "path": "Procedure.performer.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Procedure.performer.extension", "path": "Procedure.performer.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Procedure.performer.modifierExtension", "path": "Procedure.performer.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Procedure.performer.actor", "path": "Procedure.performer.actor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Procedure.performer.role", "path": "Procedure.performer.role", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that identifies the role of a performer of the procedure.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/performer-role" } } }, { "id": "Procedure.location", "path": "Procedure.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "Procedure.reasonReference", "path": "Procedure.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "isSummary": true }, { "id": "Procedure.reasonCode", "path": "Procedure.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that identifies the reason a procedure is required.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" } } }, { "id": "Procedure.notPerformed", "path": "Procedure.notPerformed", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "isModifier": true, "isSummary": true }, { "id": "Procedure.reasonNotPerformed", "path": "Procedure.reasonNotPerformed", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "condition": [ "pro-1" ], "binding": { "strength": "example", "description": "A code that identifies the reason a procedure was not performed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason" } } }, { "id": "Procedure.bodySite", "path": "Procedure.bodySite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "Procedure.outcome", "path": "Procedure.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "An outcome of a procedure - whether it was resolved or otherwise.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-outcome" } } }, { "id": "Procedure.report", "path": "Procedure.report", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" } ] }, { "id": "Procedure.complication", "path": "Procedure.complication", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes describing complications that resulted from a procedure.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "Procedure.followUp", "path": "Procedure.followUp", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Specific follow up required for a procedure e.g. removal of sutures.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-followup" } } }, { "id": "Procedure.request", "path": "Procedure.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "Procedure.notes", "path": "Procedure.notes", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "Procedure.focalDevice", "path": "Procedure.focalDevice", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Procedure.focalDevice.id", "path": "Procedure.focalDevice.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Procedure.focalDevice.extension", "path": "Procedure.focalDevice.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Procedure.focalDevice.modifierExtension", "path": "Procedure.focalDevice.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Procedure.focalDevice.action", "path": "Procedure.focalDevice.action", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "A kind of change that happened to the device during the procedure.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/device-action" } } }, { "id": "Procedure.focalDevice.manipulated", "path": "Procedure.focalDevice.manipulated", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "Procedure.usedReference", "path": "Procedure.usedReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Procedure.usedCode", "path": "Procedure.usedCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes describing items used during a procedure" } }, { "id": "Procedure.component", "path": "Procedure.component", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] } ] }, "differential": { "element": [ { "id": "Procedure", "path": "Procedure", "min": 0, "max": "*", "constraint": [ { "key": "pro-1", "severity": "error", "human": "Reason not performed is only permitted if notPerformed indicator is true", "expression": "reasonNotPerformed.empty() or notPerformed = true", "xpath": "not(exists(f:reasonNotPerformed)) or f:notPerformed/@value=true()" } ] }, { "id": "Procedure.identifier", "path": "Procedure.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Procedure.status", "path": "Procedure.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the procedure.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-status" } } }, { "id": "Procedure.category", "path": "Procedure.category", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that classifies a procedure for searching, sorting and display purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-category" } } }, { "id": "Procedure.code", "path": "Procedure.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code to identify a specific procedure .", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-code" } } }, { "id": "Procedure.subject", "path": "Procedure.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "Procedure.encounter", "path": "Procedure.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "Procedure.performed[x]", "path": "Procedure.performed[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "Procedure.performer", "path": "Procedure.performer", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Procedure.performer.actor", "path": "Procedure.performer.actor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Procedure.performer.role", "path": "Procedure.performer.role", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that identifies the role of a performer of the procedure.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/performer-role" } } }, { "id": "Procedure.location", "path": "Procedure.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "Procedure.reasonReference", "path": "Procedure.reasonReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "isSummary": true }, { "id": "Procedure.reasonCode", "path": "Procedure.reasonCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that identifies the reason a procedure is required.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" } } }, { "id": "Procedure.notPerformed", "path": "Procedure.notPerformed", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "isModifier": true, "isSummary": true }, { "id": "Procedure.reasonNotPerformed", "path": "Procedure.reasonNotPerformed", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "condition": [ "pro-1" ], "binding": { "strength": "example", "description": "A code that identifies the reason a procedure was not performed.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason" } } }, { "id": "Procedure.bodySite", "path": "Procedure.bodySite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "Procedure.outcome", "path": "Procedure.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "An outcome of a procedure - whether it was resolved or otherwise.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-outcome" } } }, { "id": "Procedure.report", "path": "Procedure.report", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" } ] }, { "id": "Procedure.complication", "path": "Procedure.complication", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes describing complications that resulted from a procedure.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/condition-code" } } }, { "id": "Procedure.followUp", "path": "Procedure.followUp", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Specific follow up required for a procedure e.g. removal of sutures.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-followup" } } }, { "id": "Procedure.request", "path": "Procedure.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ] }, { "id": "Procedure.notes", "path": "Procedure.notes", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "Procedure.focalDevice", "path": "Procedure.focalDevice", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Procedure.focalDevice.action", "path": "Procedure.focalDevice.action", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "A kind of change that happened to the device during the procedure.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/device-action" } } }, { "id": "Procedure.focalDevice.manipulated", "path": "Procedure.focalDevice.manipulated", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "Procedure.usedReference", "path": "Procedure.usedReference", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Procedure.usedCode", "path": "Procedure.usedCode", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes describing items used during a procedure" } }, { "id": "Procedure.component", "path": "Procedure.component", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest", "resource": { "resourceType": "StructureDefinition", "id": "ProcedureRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Care Provision" } ], "url": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest", "name": "ProcedureRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ProcedureRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ProcedureRequest", "path": "ProcedureRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ProcedureRequest.id", "path": "ProcedureRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ProcedureRequest.meta", "path": "ProcedureRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ProcedureRequest.implicitRules", "path": "ProcedureRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ProcedureRequest.language", "path": "ProcedureRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ProcedureRequest.text", "path": "ProcedureRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ProcedureRequest.contained", "path": "ProcedureRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ProcedureRequest.extension", "path": "ProcedureRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ProcedureRequest.modifierExtension", "path": "ProcedureRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ProcedureRequest.identifier", "path": "ProcedureRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ProcedureRequest.subject", "path": "ProcedureRequest.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "ProcedureRequest.code", "path": "ProcedureRequest.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code to identify a specific procedure .", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-code" } } }, { "id": "ProcedureRequest.bodySite", "path": "ProcedureRequest.bodySite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that identifies the anatomical location.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "ProcedureRequest.reason[x]", "path": "ProcedureRequest.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that explains the reason why a procedure is required.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" } } }, { "id": "ProcedureRequest.scheduled[x]", "path": "ProcedureRequest.scheduled[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Timing" } ], "isSummary": true }, { "id": "ProcedureRequest.encounter", "path": "ProcedureRequest.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "ProcedureRequest.performer", "path": "ProcedureRequest.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "ProcedureRequest.status", "path": "ProcedureRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-request-status" } } }, { "id": "ProcedureRequest.supportingInfo", "path": "ProcedureRequest.supportingInfo", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "ProcedureRequest.notes", "path": "ProcedureRequest.notes", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ], "isSummary": true }, { "id": "ProcedureRequest.asNeeded[x]", "path": "ProcedureRequest.asNeeded[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example \"pain\", \"on flare-up\", etc." } }, { "id": "ProcedureRequest.orderedOn", "path": "ProcedureRequest.orderedOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ProcedureRequest.orderer", "path": "ProcedureRequest.orderer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "ProcedureRequest.priority", "path": "ProcedureRequest.priority", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The priority of the request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-request-priority" } } } ] }, "differential": { "element": [ { "id": "ProcedureRequest", "path": "ProcedureRequest", "min": 0, "max": "*" }, { "id": "ProcedureRequest.identifier", "path": "ProcedureRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ProcedureRequest.subject", "path": "ProcedureRequest.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "ProcedureRequest.code", "path": "ProcedureRequest.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code to identify a specific procedure .", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-code" } } }, { "id": "ProcedureRequest.bodySite", "path": "ProcedureRequest.bodySite", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that identifies the anatomical location.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "ProcedureRequest.reason[x]", "path": "ProcedureRequest.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "isSummary": true, "binding": { "strength": "example", "description": "A code that explains the reason why a procedure is required.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" } } }, { "id": "ProcedureRequest.scheduled[x]", "path": "ProcedureRequest.scheduled[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Timing" } ], "isSummary": true }, { "id": "ProcedureRequest.encounter", "path": "ProcedureRequest.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true }, { "id": "ProcedureRequest.performer", "path": "ProcedureRequest.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "ProcedureRequest.status", "path": "ProcedureRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-request-status" } } }, { "id": "ProcedureRequest.supportingInfo", "path": "ProcedureRequest.supportingInfo", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "ProcedureRequest.notes", "path": "ProcedureRequest.notes", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ], "isSummary": true }, { "id": "ProcedureRequest.asNeeded[x]", "path": "ProcedureRequest.asNeeded[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example \"pain\", \"on flare-up\", etc." } }, { "id": "ProcedureRequest.orderedOn", "path": "ProcedureRequest.orderedOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ProcedureRequest.orderer", "path": "ProcedureRequest.orderer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "ProcedureRequest.priority", "path": "ProcedureRequest.priority", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The priority of the request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-request-priority" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ProcessRequest", "resource": { "resourceType": "StructureDefinition", "id": "ProcessRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Events 1" } ], "url": "http://hl7.org/fhir/StructureDefinition/ProcessRequest", "name": "ProcessRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ProcessRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ProcessRequest", "path": "ProcessRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ProcessRequest.id", "path": "ProcessRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ProcessRequest.meta", "path": "ProcessRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ProcessRequest.implicitRules", "path": "ProcessRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ProcessRequest.language", "path": "ProcessRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ProcessRequest.text", "path": "ProcessRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ProcessRequest.contained", "path": "ProcessRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ProcessRequest.extension", "path": "ProcessRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ProcessRequest.modifierExtension", "path": "ProcessRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ProcessRequest.identifier", "path": "ProcessRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "ProcessRequest.status", "path": "ProcessRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "ProcessRequest.action", "path": "ProcessRequest.action", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "List of allowable action which this resource can request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/actionlist" } } }, { "id": "ProcessRequest.target", "path": "ProcessRequest.target", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ProcessRequest.created", "path": "ProcessRequest.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ProcessRequest.provider", "path": "ProcessRequest.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ProcessRequest.organization", "path": "ProcessRequest.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ProcessRequest.request", "path": "ProcessRequest.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "ProcessRequest.response", "path": "ProcessRequest.response", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "ProcessRequest.nullify", "path": "ProcessRequest.nullify", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ProcessRequest.reference", "path": "ProcessRequest.reference", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ProcessRequest.item", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Items" } ], "path": "ProcessRequest.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ProcessRequest.item.id", "path": "ProcessRequest.item.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ProcessRequest.item.extension", "path": "ProcessRequest.item.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ProcessRequest.item.modifierExtension", "path": "ProcessRequest.item.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ProcessRequest.item.sequenceLinkId", "path": "ProcessRequest.item.sequenceLinkId", "min": 1, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "ProcessRequest.include", "path": "ProcessRequest.include", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ProcessRequest.exclude", "path": "ProcessRequest.exclude", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ProcessRequest.period", "path": "ProcessRequest.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] } ] }, "differential": { "element": [ { "id": "ProcessRequest", "path": "ProcessRequest", "min": 0, "max": "*" }, { "id": "ProcessRequest.identifier", "path": "ProcessRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "ProcessRequest.status", "path": "ProcessRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "ProcessRequest.action", "path": "ProcessRequest.action", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "List of allowable action which this resource can request.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/actionlist" } } }, { "id": "ProcessRequest.target", "path": "ProcessRequest.target", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ProcessRequest.created", "path": "ProcessRequest.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ProcessRequest.provider", "path": "ProcessRequest.provider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ProcessRequest.organization", "path": "ProcessRequest.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ProcessRequest.request", "path": "ProcessRequest.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "ProcessRequest.response", "path": "ProcessRequest.response", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "ProcessRequest.nullify", "path": "ProcessRequest.nullify", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "ProcessRequest.reference", "path": "ProcessRequest.reference", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ProcessRequest.item", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Items" } ], "path": "ProcessRequest.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ProcessRequest.item.sequenceLinkId", "path": "ProcessRequest.item.sequenceLinkId", "min": 1, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "ProcessRequest.include", "path": "ProcessRequest.include", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ProcessRequest.exclude", "path": "ProcessRequest.exclude", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "ProcessRequest.period", "path": "ProcessRequest.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ProcessResponse", "resource": { "resourceType": "StructureDefinition", "id": "ProcessResponse", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Events 1" } ], "url": "http://hl7.org/fhir/StructureDefinition/ProcessResponse", "name": "ProcessResponse", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ProcessResponse", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ProcessResponse", "path": "ProcessResponse", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ProcessResponse.id", "path": "ProcessResponse.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ProcessResponse.meta", "path": "ProcessResponse.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ProcessResponse.implicitRules", "path": "ProcessResponse.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ProcessResponse.language", "path": "ProcessResponse.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ProcessResponse.text", "path": "ProcessResponse.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ProcessResponse.contained", "path": "ProcessResponse.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ProcessResponse.extension", "path": "ProcessResponse.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ProcessResponse.modifierExtension", "path": "ProcessResponse.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ProcessResponse.identifier", "path": "ProcessResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "ProcessResponse.status", "path": "ProcessResponse.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "ProcessResponse.created", "path": "ProcessResponse.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ProcessResponse.organization", "path": "ProcessResponse.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ProcessResponse.request", "path": "ProcessResponse.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "ProcessResponse.outcome", "path": "ProcessResponse.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Local status of outcome codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/process-outcome" } } }, { "id": "ProcessResponse.disposition", "path": "ProcessResponse.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ProcessResponse.requestProvider", "path": "ProcessResponse.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ProcessResponse.requestOrganization", "path": "ProcessResponse.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ProcessResponse.form", "path": "ProcessResponse.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "ProcessResponse.note", "path": "ProcessResponse.note", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ProcessResponse.note.id", "path": "ProcessResponse.note.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ProcessResponse.note.extension", "path": "ProcessResponse.note.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ProcessResponse.note.modifierExtension", "path": "ProcessResponse.note.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ProcessResponse.note.type", "path": "ProcessResponse.note.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The presentation types of notes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/note-type" } } }, { "id": "ProcessResponse.note.text", "path": "ProcessResponse.note.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ProcessResponse.error", "path": "ProcessResponse.error", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The error codes for adjudication processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-error" } } }, { "id": "ProcessResponse.communicationRequest", "path": "ProcessResponse.communicationRequest", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" } ] } ] }, "differential": { "element": [ { "id": "ProcessResponse", "path": "ProcessResponse", "min": 0, "max": "*" }, { "id": "ProcessResponse.identifier", "path": "ProcessResponse.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "ProcessResponse.status", "path": "ProcessResponse.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "ProcessResponse.created", "path": "ProcessResponse.created", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "ProcessResponse.organization", "path": "ProcessResponse.organization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ProcessResponse.request", "path": "ProcessResponse.request", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "ProcessResponse.outcome", "path": "ProcessResponse.outcome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Local status of outcome codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/process-outcome" } } }, { "id": "ProcessResponse.disposition", "path": "ProcessResponse.disposition", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ProcessResponse.requestProvider", "path": "ProcessResponse.requestProvider", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "ProcessResponse.requestOrganization", "path": "ProcessResponse.requestOrganization", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "ProcessResponse.form", "path": "ProcessResponse.form", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The forms codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/forms" } } }, { "id": "ProcessResponse.note", "path": "ProcessResponse.note", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ProcessResponse.note.type", "path": "ProcessResponse.note.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The presentation types of notes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/note-type" } } }, { "id": "ProcessResponse.note.text", "path": "ProcessResponse.note.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ProcessResponse.error", "path": "ProcessResponse.error", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The error codes for adjudication processing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/adjudication-error" } } }, { "id": "ProcessResponse.communicationRequest", "path": "ProcessResponse.communicationRequest", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Provenance", "resource": { "resourceType": "StructureDefinition", "id": "Provenance", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "sec" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Security & Privacy" } ], "url": "http://hl7.org/fhir/StructureDefinition/Provenance", "name": "Provenance", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Provenance", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Provenance", "path": "Provenance", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Provenance.id", "path": "Provenance.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Provenance.meta", "path": "Provenance.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Provenance.implicitRules", "path": "Provenance.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Provenance.language", "path": "Provenance.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Provenance.text", "path": "Provenance.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Provenance.contained", "path": "Provenance.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Provenance.extension", "path": "Provenance.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Provenance.modifierExtension", "path": "Provenance.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Provenance.target", "path": "Provenance.target", "min": 1, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Provenance.period", "path": "Provenance.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Provenance.recorded", "path": "Provenance.recorded", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Provenance.reason", "path": "Provenance.reason", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The reason the activity took place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Provenance.activity", "path": "Provenance.activity", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The activity that took place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ProvenanceEventCurrentState" } } }, { "id": "Provenance.location", "path": "Provenance.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Provenance.policy", "path": "Provenance.policy", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "Provenance.agent", "path": "Provenance.agent", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Provenance.agent.id", "path": "Provenance.agent.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Provenance.agent.extension", "path": "Provenance.agent.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Provenance.agent.modifierExtension", "path": "Provenance.agent.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Provenance.agent.role", "path": "Provenance.agent.role", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The role that a provenance agent played with respect to the activity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/provenance-agent-role" } } }, { "id": "Provenance.agent.who[x]", "path": "Provenance.agent.who[x]", "min": 1, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Provenance.agent.onBehalfOf[x]", "path": "Provenance.agent.onBehalfOf[x]", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Provenance.agent.relatedAgentType", "path": "Provenance.agent.relatedAgentType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Type of relationship between two provenance agents.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-RoleLinkType" } } }, { "id": "Provenance.entity", "path": "Provenance.entity", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Provenance.entity.id", "path": "Provenance.entity.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Provenance.entity.extension", "path": "Provenance.entity.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Provenance.entity.modifierExtension", "path": "Provenance.entity.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Provenance.entity.role", "path": "Provenance.entity.role", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How an entity was used in an activity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/provenance-entity-role" } } }, { "id": "Provenance.entity.reference", "path": "Provenance.entity.reference", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Provenance.entity.agent", "path": "Provenance.entity.agent", "min": 0, "max": "*", "contentReference": "#Provenance.agent" }, { "id": "Provenance.signature", "path": "Provenance.signature", "min": 0, "max": "*", "type": [ { "code": "Signature" } ] } ] }, "differential": { "element": [ { "id": "Provenance", "path": "Provenance", "min": 0, "max": "*" }, { "id": "Provenance.target", "path": "Provenance.target", "min": 1, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Provenance.period", "path": "Provenance.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Provenance.recorded", "path": "Provenance.recorded", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Provenance.reason", "path": "Provenance.reason", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The reason the activity took place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse" } } }, { "id": "Provenance.activity", "path": "Provenance.activity", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The activity that took place.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ProvenanceEventCurrentState" } } }, { "id": "Provenance.location", "path": "Provenance.location", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ] }, { "id": "Provenance.policy", "path": "Provenance.policy", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "Provenance.agent", "path": "Provenance.agent", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Provenance.agent.role", "path": "Provenance.agent.role", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The role that a provenance agent played with respect to the activity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/provenance-agent-role" } } }, { "id": "Provenance.agent.who[x]", "path": "Provenance.agent.who[x]", "min": 1, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Provenance.agent.onBehalfOf[x]", "path": "Provenance.agent.onBehalfOf[x]", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Provenance.agent.relatedAgentType", "path": "Provenance.agent.relatedAgentType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Type of relationship between two provenance agents.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-RoleLinkType" } } }, { "id": "Provenance.entity", "path": "Provenance.entity", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Provenance.entity.role", "path": "Provenance.entity.role", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How an entity was used in an activity.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/provenance-entity-role" } } }, { "id": "Provenance.entity.reference", "path": "Provenance.entity.reference", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Provenance.entity.agent", "path": "Provenance.entity.agent", "min": 0, "max": "*", "contentReference": "#Provenance.agent" }, { "id": "Provenance.signature", "path": "Provenance.signature", "min": 0, "max": "*", "type": [ { "code": "Signature" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Questionnaire", "resource": { "resourceType": "StructureDefinition", "id": "Questionnaire", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Foundation/Documents & Questionnaires" } ], "url": "http://hl7.org/fhir/StructureDefinition/Questionnaire", "name": "Questionnaire", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "To support structured, hierarchical registration of data gathered using digital forms and other questionnaires.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Questionnaire", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Questionnaire", "path": "Questionnaire", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "que-2", "severity": "error", "human": "The link ids for groups and questions must be unique within the questionnaire", "expression": "descendants().linkId.isDistinct()", "xpath": "count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value))" } ] }, { "id": "Questionnaire.id", "path": "Questionnaire.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Questionnaire.meta", "path": "Questionnaire.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Questionnaire.implicitRules", "path": "Questionnaire.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Questionnaire.language", "path": "Questionnaire.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Questionnaire.text", "path": "Questionnaire.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Questionnaire.contained", "path": "Questionnaire.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Questionnaire.extension", "path": "Questionnaire.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Questionnaire.modifierExtension", "path": "Questionnaire.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Questionnaire.url", "path": "Questionnaire.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Questionnaire.identifier", "path": "Questionnaire.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Questionnaire.version", "path": "Questionnaire.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Questionnaire.status", "path": "Questionnaire.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Lifecycle status of the questionnaire.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-status" } } }, { "id": "Questionnaire.date", "path": "Questionnaire.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Questionnaire.publisher", "path": "Questionnaire.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Questionnaire.telecom", "path": "Questionnaire.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Questionnaire.useContext", "path": "Questionnaire.useContext", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/use-context" } } }, { "id": "Questionnaire.title", "path": "Questionnaire.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Questionnaire.concept", "path": "Questionnaire.concept", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for questionnaires, groups and individual questions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-questions" } } }, { "id": "Questionnaire.subjectType", "path": "Questionnaire.subjectType", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "Questionnaire.item", "path": "Questionnaire.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "que-3" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "que-9", "severity": "error", "human": "Read-only can't be specified for \"display\" items", "expression": "type!='display' or readOnly.empty()", "xpath": "not(f:type/@value='display' and f:readOnly)" }, { "key": "que-8", "severity": "error", "human": "Default values can't be specified for groups or display items", "expression": "(type!='group' and type!='display') or initial.empty()", "xpath": "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" }, { "key": "que-6", "severity": "error", "human": "Required and repeat aren't permitted for display items", "expression": "type!='display' or (required.empty() and repeats.empty())", "xpath": "not(f:type/@value='display' and (f:required or f:repeats))" }, { "key": "que-5", "severity": "error", "human": "Only 'choice' items can have options", "expression": "(type ='choice' or type = 'open-choice') or (options.empty() and option.empty())", "xpath": "f:type/@value=('choice','open-choice') or not(f:option or f:options)" }, { "key": "que-4", "severity": "error", "human": "A question cannot have both option and options", "expression": "option.empty() or options.empty()", "xpath": "not(f:options and f:option)" }, { "key": "que-3", "severity": "error", "human": "Display items cannot have a \"concept\" asserted", "expression": "type!='display' or concept.empty()", "xpath": "not(f:type/@value='display' and f:concept)" }, { "key": "que-10", "severity": "error", "human": "Maximum length can only be declared for simple question types", "expression": "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url')) or maxLength.empty()", "xpath": "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" }, { "key": "que-1", "severity": "error", "human": "Group items must have nested items, display items cannot have nested items", "expression": "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())", "xpath": "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" }, { "key": "que-11", "severity": "error", "human": "Type is required if a definition is not provided", "expression": "definition.empty() implies type.exists()", "xpath": "not(exists(f:type)) or exists(f:definition)" } ] }, { "id": "Questionnaire.item.id", "path": "Questionnaire.item.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.extension", "path": "Questionnaire.item.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Questionnaire.item.modifierExtension", "path": "Questionnaire.item.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Questionnaire.item.linkId", "path": "Questionnaire.item.linkId", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.definition", "path": "Questionnaire.item.definition", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "condition": [ "que-11" ] }, { "id": "Questionnaire.item.concept", "path": "Questionnaire.item.concept", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "condition": [ "que-3" ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for questionnaires, groups and individual questions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-questions" } } }, { "id": "Questionnaire.item.prefix", "path": "Questionnaire.item.prefix", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.text", "path": "Questionnaire.item.text", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Questionnaire.item.type", "path": "Questionnaire.item.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "que-11" ], "binding": { "strength": "required", "description": "Distinguishes groups from questions and display text and indicates data type for questions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/item-type" } } }, { "id": "Questionnaire.item.enableWhen", "path": "Questionnaire.item.enableWhen", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "que-7", "severity": "error", "human": "enableWhen must contain either an 'answer' or an 'answered' element", "expression": "hasAnswer.exists() xor answer.exists()", "xpath": "count(*[starts-with(local-name(.), 'answer')]|answered) = 1" } ], "isModifier": true, "isSummary": true }, { "id": "Questionnaire.item.enableWhen.id", "path": "Questionnaire.item.enableWhen.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.enableWhen.extension", "path": "Questionnaire.item.enableWhen.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Questionnaire.item.enableWhen.modifierExtension", "path": "Questionnaire.item.enableWhen.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Questionnaire.item.enableWhen.question", "path": "Questionnaire.item.enableWhen.question", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.enableWhen.hasAnswer", "path": "Questionnaire.item.enableWhen.hasAnswer", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "condition": [ "que-7" ] }, { "id": "Questionnaire.item.enableWhen.answer[x]", "path": "Questionnaire.item.enableWhen.answer[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "decimal" }, { "code": "integer" }, { "code": "date" }, { "code": "dateTime" }, { "code": "instant" }, { "code": "time" }, { "code": "string" }, { "code": "uri" }, { "code": "Attachment" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "que-7" ] }, { "id": "Questionnaire.item.required", "path": "Questionnaire.item.required", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "condition": [ "que-6" ] }, { "id": "Questionnaire.item.repeats", "path": "Questionnaire.item.repeats", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "condition": [ "que-6" ] }, { "id": "Questionnaire.item.readOnly", "path": "Questionnaire.item.readOnly", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "condition": [ "que-9" ] }, { "id": "Questionnaire.item.maxLength", "path": "Questionnaire.item.maxLength", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "condition": [ "que-10" ] }, { "id": "Questionnaire.item.options", "path": "Questionnaire.item.options", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet" } ], "condition": [ "que-4", "que-5" ] }, { "id": "Questionnaire.item.option", "path": "Questionnaire.item.option", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "que-4", "que-5" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Questionnaire.item.option.id", "path": "Questionnaire.item.option.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.option.extension", "path": "Questionnaire.item.option.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Questionnaire.item.option.modifierExtension", "path": "Questionnaire.item.option.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Questionnaire.item.option.value[x]", "path": "Questionnaire.item.option.value[x]", "min": 1, "max": "1", "type": [ { "code": "integer" }, { "code": "date" }, { "code": "time" }, { "code": "string" }, { "code": "Coding" } ], "binding": { "strength": "example", "description": "Allowed values to answer questions.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers" } } }, { "id": "Questionnaire.item.initial[x]", "path": "Questionnaire.item.initial[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "decimal" }, { "code": "integer" }, { "code": "date" }, { "code": "dateTime" }, { "code": "instant" }, { "code": "time" }, { "code": "string" }, { "code": "uri" }, { "code": "Attachment" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "que-8" ] }, { "id": "Questionnaire.item.item", "path": "Questionnaire.item.item", "min": 0, "max": "*", "contentReference": "#Questionnaire.item", "condition": [ "que-1" ] } ] }, "differential": { "element": [ { "id": "Questionnaire", "path": "Questionnaire", "min": 0, "max": "*", "constraint": [ { "key": "que-2", "severity": "error", "human": "The link ids for groups and questions must be unique within the questionnaire", "expression": "descendants().linkId.isDistinct()", "xpath": "count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value))" } ] }, { "id": "Questionnaire.url", "path": "Questionnaire.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Questionnaire.identifier", "path": "Questionnaire.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Questionnaire.version", "path": "Questionnaire.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Questionnaire.status", "path": "Questionnaire.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Lifecycle status of the questionnaire.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-status" } } }, { "id": "Questionnaire.date", "path": "Questionnaire.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Questionnaire.publisher", "path": "Questionnaire.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Questionnaire.telecom", "path": "Questionnaire.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Questionnaire.useContext", "path": "Questionnaire.useContext", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/use-context" } } }, { "id": "Questionnaire.title", "path": "Questionnaire.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Questionnaire.concept", "path": "Questionnaire.concept", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for questionnaires, groups and individual questions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-questions" } } }, { "id": "Questionnaire.subjectType", "path": "Questionnaire.subjectType", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "Questionnaire.item", "path": "Questionnaire.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "que-3" ], "constraint": [ { "key": "que-9", "severity": "error", "human": "Read-only can't be specified for \"display\" items", "expression": "type!='display' or readOnly.empty()", "xpath": "not(f:type/@value='display' and f:readOnly)" }, { "key": "que-8", "severity": "error", "human": "Default values can't be specified for groups or display items", "expression": "(type!='group' and type!='display') or initial.empty()", "xpath": "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" }, { "key": "que-6", "severity": "error", "human": "Required and repeat aren't permitted for display items", "expression": "type!='display' or (required.empty() and repeats.empty())", "xpath": "not(f:type/@value='display' and (f:required or f:repeats))" }, { "key": "que-5", "severity": "error", "human": "Only 'choice' items can have options", "expression": "(type ='choice' or type = 'open-choice') or (options.empty() and option.empty())", "xpath": "f:type/@value=('choice','open-choice') or not(f:option or f:options)" }, { "key": "que-4", "severity": "error", "human": "A question cannot have both option and options", "expression": "option.empty() or options.empty()", "xpath": "not(f:options and f:option)" }, { "key": "que-3", "severity": "error", "human": "Display items cannot have a \"concept\" asserted", "expression": "type!='display' or concept.empty()", "xpath": "not(f:type/@value='display' and f:concept)" }, { "key": "que-10", "severity": "error", "human": "Maximum length can only be declared for simple question types", "expression": "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url')) or maxLength.empty()", "xpath": "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" }, { "key": "que-1", "severity": "error", "human": "Group items must have nested items, display items cannot have nested items", "expression": "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())", "xpath": "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" }, { "key": "que-11", "severity": "error", "human": "Type is required if a definition is not provided", "expression": "definition.empty() implies type.exists()", "xpath": "not(exists(f:type)) or exists(f:definition)" } ] }, { "id": "Questionnaire.item.linkId", "path": "Questionnaire.item.linkId", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.definition", "path": "Questionnaire.item.definition", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "condition": [ "que-11" ] }, { "id": "Questionnaire.item.concept", "path": "Questionnaire.item.concept", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "condition": [ "que-3" ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for questionnaires, groups and individual questions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-questions" } } }, { "id": "Questionnaire.item.prefix", "path": "Questionnaire.item.prefix", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.text", "path": "Questionnaire.item.text", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Questionnaire.item.type", "path": "Questionnaire.item.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "que-11" ], "binding": { "strength": "required", "description": "Distinguishes groups from questions and display text and indicates data type for questions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/item-type" } } }, { "id": "Questionnaire.item.enableWhen", "path": "Questionnaire.item.enableWhen", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "que-7", "severity": "error", "human": "enableWhen must contain either an 'answer' or an 'answered' element", "expression": "hasAnswer.exists() xor answer.exists()", "xpath": "count(*[starts-with(local-name(.), 'answer')]|answered) = 1" } ], "isModifier": true, "isSummary": true }, { "id": "Questionnaire.item.enableWhen.question", "path": "Questionnaire.item.enableWhen.question", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Questionnaire.item.enableWhen.hasAnswer", "path": "Questionnaire.item.enableWhen.hasAnswer", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "condition": [ "que-7" ] }, { "id": "Questionnaire.item.enableWhen.answer[x]", "path": "Questionnaire.item.enableWhen.answer[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "decimal" }, { "code": "integer" }, { "code": "date" }, { "code": "dateTime" }, { "code": "instant" }, { "code": "time" }, { "code": "string" }, { "code": "uri" }, { "code": "Attachment" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "que-7" ] }, { "id": "Questionnaire.item.required", "path": "Questionnaire.item.required", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "condition": [ "que-6" ] }, { "id": "Questionnaire.item.repeats", "path": "Questionnaire.item.repeats", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false, "condition": [ "que-6" ] }, { "id": "Questionnaire.item.readOnly", "path": "Questionnaire.item.readOnly", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "condition": [ "que-9" ] }, { "id": "Questionnaire.item.maxLength", "path": "Questionnaire.item.maxLength", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "condition": [ "que-10" ] }, { "id": "Questionnaire.item.options", "path": "Questionnaire.item.options", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet" } ], "condition": [ "que-4", "que-5" ] }, { "id": "Questionnaire.item.option", "path": "Questionnaire.item.option", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "condition": [ "que-4", "que-5" ] }, { "id": "Questionnaire.item.option.value[x]", "path": "Questionnaire.item.option.value[x]", "min": 1, "max": "1", "type": [ { "code": "integer" }, { "code": "date" }, { "code": "time" }, { "code": "string" }, { "code": "Coding" } ], "binding": { "strength": "example", "description": "Allowed values to answer questions.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers" } } }, { "id": "Questionnaire.item.initial[x]", "path": "Questionnaire.item.initial[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "decimal" }, { "code": "integer" }, { "code": "date" }, { "code": "dateTime" }, { "code": "instant" }, { "code": "time" }, { "code": "string" }, { "code": "uri" }, { "code": "Attachment" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "que-8" ] }, { "id": "Questionnaire.item.item", "path": "Questionnaire.item.item", "min": 0, "max": "*", "contentReference": "#Questionnaire.item", "condition": [ "que-1" ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", "resource": { "resourceType": "StructureDefinition", "id": "QuestionnaireResponse", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Foundation/Documents & Questionnaires" } ], "url": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", "name": "QuestionnaireResponse", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "To support structured, hierarchical registration of data gathered using digital forms and other questionnaires.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "QuestionnaireResponse", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "QuestionnaireResponse", "path": "QuestionnaireResponse", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "QuestionnaireResponse.id", "path": "QuestionnaireResponse.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "QuestionnaireResponse.meta", "path": "QuestionnaireResponse.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "QuestionnaireResponse.implicitRules", "path": "QuestionnaireResponse.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "QuestionnaireResponse.language", "path": "QuestionnaireResponse.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "QuestionnaireResponse.text", "path": "QuestionnaireResponse.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "QuestionnaireResponse.contained", "path": "QuestionnaireResponse.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "QuestionnaireResponse.extension", "path": "QuestionnaireResponse.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "QuestionnaireResponse.modifierExtension", "path": "QuestionnaireResponse.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "QuestionnaireResponse.identifier", "path": "QuestionnaireResponse.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "QuestionnaireResponse.basedOn", "path": "QuestionnaireResponse.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" } ], "isSummary": true }, { "id": "QuestionnaireResponse.parent", "path": "QuestionnaireResponse.parent", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "isSummary": true }, { "id": "QuestionnaireResponse.questionnaire", "path": "QuestionnaireResponse.questionnaire", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire" } ], "isSummary": true }, { "id": "QuestionnaireResponse.status", "path": "QuestionnaireResponse.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Lifecycle status of the questionnaire response.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers-status" } } }, { "id": "QuestionnaireResponse.subject", "path": "QuestionnaireResponse.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "QuestionnaireResponse.context", "path": "QuestionnaireResponse.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "QuestionnaireResponse.author", "path": "QuestionnaireResponse.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "QuestionnaireResponse.authored", "path": "QuestionnaireResponse.authored", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "QuestionnaireResponse.source", "path": "QuestionnaireResponse.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "QuestionnaireResponse.item", "path": "QuestionnaireResponse.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "qrs-1", "severity": "error", "human": "Nested item can't be beneath both item and answer", "expression": "(answer.exists() and item.exists()).not()", "xpath": "not(exists(f:answer) and exists(f:item))" } ] }, { "id": "QuestionnaireResponse.item.id", "path": "QuestionnaireResponse.item.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "QuestionnaireResponse.item.extension", "path": "QuestionnaireResponse.item.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "QuestionnaireResponse.item.modifierExtension", "path": "QuestionnaireResponse.item.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "QuestionnaireResponse.item.linkId", "path": "QuestionnaireResponse.item.linkId", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "QuestionnaireResponse.item.definition", "path": "QuestionnaireResponse.item.definition", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "QuestionnaireResponse.item.text", "path": "QuestionnaireResponse.item.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "QuestionnaireResponse.item.subject", "path": "QuestionnaireResponse.item.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "QuestionnaireResponse.item.answer", "path": "QuestionnaireResponse.item.answer", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "QuestionnaireResponse.item.answer.id", "path": "QuestionnaireResponse.item.answer.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "QuestionnaireResponse.item.answer.extension", "path": "QuestionnaireResponse.item.answer.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "QuestionnaireResponse.item.answer.modifierExtension", "path": "QuestionnaireResponse.item.answer.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "QuestionnaireResponse.item.answer.value[x]", "path": "QuestionnaireResponse.item.answer.value[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "decimal" }, { "code": "integer" }, { "code": "date" }, { "code": "dateTime" }, { "code": "instant" }, { "code": "time" }, { "code": "string" }, { "code": "uri" }, { "code": "Attachment" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "binding": { "strength": "example", "description": "Code indicating the response provided for a question." } }, { "id": "QuestionnaireResponse.item.answer.item", "path": "QuestionnaireResponse.item.answer.item", "min": 0, "max": "*", "contentReference": "#QuestionnaireResponse.item" }, { "id": "QuestionnaireResponse.item.item", "path": "QuestionnaireResponse.item.item", "min": 0, "max": "*", "contentReference": "#QuestionnaireResponse.item" } ] }, "differential": { "element": [ { "id": "QuestionnaireResponse", "path": "QuestionnaireResponse", "min": 0, "max": "*" }, { "id": "QuestionnaireResponse.identifier", "path": "QuestionnaireResponse.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "QuestionnaireResponse.basedOn", "path": "QuestionnaireResponse.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" } ], "isSummary": true }, { "id": "QuestionnaireResponse.parent", "path": "QuestionnaireResponse.parent", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "isSummary": true }, { "id": "QuestionnaireResponse.questionnaire", "path": "QuestionnaireResponse.questionnaire", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire" } ], "isSummary": true }, { "id": "QuestionnaireResponse.status", "path": "QuestionnaireResponse.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Lifecycle status of the questionnaire response.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers-status" } } }, { "id": "QuestionnaireResponse.subject", "path": "QuestionnaireResponse.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "QuestionnaireResponse.context", "path": "QuestionnaireResponse.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "QuestionnaireResponse.author", "path": "QuestionnaireResponse.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "QuestionnaireResponse.authored", "path": "QuestionnaireResponse.authored", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "QuestionnaireResponse.source", "path": "QuestionnaireResponse.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "QuestionnaireResponse.item", "path": "QuestionnaireResponse.item", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "qrs-1", "severity": "error", "human": "Nested item can't be beneath both item and answer", "expression": "(answer.exists() and item.exists()).not()", "xpath": "not(exists(f:answer) and exists(f:item))" } ] }, { "id": "QuestionnaireResponse.item.linkId", "path": "QuestionnaireResponse.item.linkId", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "QuestionnaireResponse.item.definition", "path": "QuestionnaireResponse.item.definition", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "QuestionnaireResponse.item.text", "path": "QuestionnaireResponse.item.text", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "QuestionnaireResponse.item.subject", "path": "QuestionnaireResponse.item.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "QuestionnaireResponse.item.answer", "path": "QuestionnaireResponse.item.answer", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "QuestionnaireResponse.item.answer.value[x]", "path": "QuestionnaireResponse.item.answer.value[x]", "min": 0, "max": "1", "type": [ { "code": "boolean" }, { "code": "decimal" }, { "code": "integer" }, { "code": "date" }, { "code": "dateTime" }, { "code": "instant" }, { "code": "time" }, { "code": "string" }, { "code": "uri" }, { "code": "Attachment" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "binding": { "strength": "example", "description": "Code indicating the response provided for a question." } }, { "id": "QuestionnaireResponse.item.answer.item", "path": "QuestionnaireResponse.item.answer.item", "min": 0, "max": "*", "contentReference": "#QuestionnaireResponse.item" }, { "id": "QuestionnaireResponse.item.item", "path": "QuestionnaireResponse.item.item", "min": 0, "max": "*", "contentReference": "#QuestionnaireResponse.item" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ReferralRequest", "resource": { "resourceType": "StructureDefinition", "id": "ReferralRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Care Provision" } ], "url": "http://hl7.org/fhir/StructureDefinition/ReferralRequest", "name": "ReferralRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ReferralRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ReferralRequest", "path": "ReferralRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ReferralRequest.id", "path": "ReferralRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ReferralRequest.meta", "path": "ReferralRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ReferralRequest.implicitRules", "path": "ReferralRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ReferralRequest.language", "path": "ReferralRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ReferralRequest.text", "path": "ReferralRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ReferralRequest.contained", "path": "ReferralRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ReferralRequest.extension", "path": "ReferralRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ReferralRequest.modifierExtension", "path": "ReferralRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ReferralRequest.identifier", "path": "ReferralRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isModifier": false }, { "id": "ReferralRequest.basedOn", "path": "ReferralRequest.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" } ], "isModifier": false }, { "id": "ReferralRequest.parent", "path": "ReferralRequest.parent", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.status", "path": "ReferralRequest.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the referral.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/referralstatus" } } }, { "id": "ReferralRequest.category", "path": "ReferralRequest.category", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Identifies the degree of intention/authorization associated with the request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/referralcategory" } } }, { "id": "ReferralRequest.type", "path": "ReferralRequest.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "isSummary": true, "binding": { "strength": "example", "description": "Codes for types of referral; e.g. consult, transfer, temporary transfer." } }, { "id": "ReferralRequest.priority", "path": "ReferralRequest.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "isSummary": true, "binding": { "strength": "example", "description": "Codes indicating the relative priority of the referral.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-priority" } } }, { "id": "ReferralRequest.patient", "path": "ReferralRequest.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.context", "path": "ReferralRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isModifier": false }, { "id": "ReferralRequest.fulfillmentTime", "path": "ReferralRequest.fulfillmentTime", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.authored", "path": "ReferralRequest.authored", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.requester", "path": "ReferralRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.specialty", "path": "ReferralRequest.specialty", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "binding": { "strength": "example", "description": "Codes indicating the types of capability the referred to service provider must have.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty" } } }, { "id": "ReferralRequest.recipient", "path": "ReferralRequest.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.reason", "path": "ReferralRequest.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "isSummary": true, "binding": { "strength": "example", "description": "Codes indicating why the referral is being requested." } }, { "id": "ReferralRequest.description", "path": "ReferralRequest.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isModifier": false }, { "id": "ReferralRequest.serviceRequested", "path": "ReferralRequest.serviceRequested", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "isSummary": true, "binding": { "strength": "example", "description": "Codes indicating the types of services that might be requested as part of a referral.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "ReferralRequest.supportingInformation", "path": "ReferralRequest.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isModifier": false, "isSummary": true } ] }, "differential": { "element": [ { "id": "ReferralRequest", "path": "ReferralRequest", "min": 0, "max": "*" }, { "id": "ReferralRequest.identifier", "path": "ReferralRequest.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isModifier": false }, { "id": "ReferralRequest.basedOn", "path": "ReferralRequest.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" } ], "isModifier": false }, { "id": "ReferralRequest.parent", "path": "ReferralRequest.parent", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.status", "path": "ReferralRequest.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the referral.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/referralstatus" } } }, { "id": "ReferralRequest.category", "path": "ReferralRequest.category", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Identifies the degree of intention/authorization associated with the request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/referralcategory" } } }, { "id": "ReferralRequest.type", "path": "ReferralRequest.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "isSummary": true, "binding": { "strength": "example", "description": "Codes for types of referral; e.g. consult, transfer, temporary transfer." } }, { "id": "ReferralRequest.priority", "path": "ReferralRequest.priority", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "isSummary": true, "binding": { "strength": "example", "description": "Codes indicating the relative priority of the referral.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-priority" } } }, { "id": "ReferralRequest.patient", "path": "ReferralRequest.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.context", "path": "ReferralRequest.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isModifier": false }, { "id": "ReferralRequest.fulfillmentTime", "path": "ReferralRequest.fulfillmentTime", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.authored", "path": "ReferralRequest.authored", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.requester", "path": "ReferralRequest.requester", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.specialty", "path": "ReferralRequest.specialty", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "binding": { "strength": "example", "description": "Codes indicating the types of capability the referred to service provider must have.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty" } } }, { "id": "ReferralRequest.recipient", "path": "ReferralRequest.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isModifier": false, "isSummary": true }, { "id": "ReferralRequest.reason", "path": "ReferralRequest.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "isSummary": true, "binding": { "strength": "example", "description": "Codes indicating why the referral is being requested." } }, { "id": "ReferralRequest.description", "path": "ReferralRequest.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isModifier": false }, { "id": "ReferralRequest.serviceRequested", "path": "ReferralRequest.serviceRequested", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "isSummary": true, "binding": { "strength": "example", "description": "Codes indicating the types of services that might be requested as part of a referral.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "ReferralRequest.supportingInformation", "path": "ReferralRequest.supportingInformation", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isModifier": false, "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "resource": { "resourceType": "StructureDefinition", "id": "RelatedPerson", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Individuals" } ], "url": "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "name": "RelatedPerson", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "purpose": "Need to track persons related to the patient or the healthcare process.", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "RelatedPerson", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "RelatedPerson", "path": "RelatedPerson", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "RelatedPerson.id", "path": "RelatedPerson.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "RelatedPerson.meta", "path": "RelatedPerson.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "RelatedPerson.implicitRules", "path": "RelatedPerson.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "RelatedPerson.language", "path": "RelatedPerson.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "RelatedPerson.text", "path": "RelatedPerson.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "RelatedPerson.contained", "path": "RelatedPerson.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "RelatedPerson.extension", "path": "RelatedPerson.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "RelatedPerson.modifierExtension", "path": "RelatedPerson.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "RelatedPerson.identifier", "path": "RelatedPerson.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "RelatedPerson.active", "path": "RelatedPerson.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "RelatedPerson.patient", "path": "RelatedPerson.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "RelatedPerson.relationship", "path": "RelatedPerson.relationship", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The nature of the relationship between a patient and the related person", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype" } } }, { "id": "RelatedPerson.name", "path": "RelatedPerson.name", "min": 0, "max": "*", "type": [ { "code": "HumanName" } ], "isSummary": true }, { "id": "RelatedPerson.telecom", "path": "RelatedPerson.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "RelatedPerson.gender", "path": "RelatedPerson.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "RelatedPerson.birthDate", "path": "RelatedPerson.birthDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "RelatedPerson.address", "path": "RelatedPerson.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ], "isSummary": true }, { "id": "RelatedPerson.photo", "path": "RelatedPerson.photo", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] }, { "id": "RelatedPerson.period", "path": "RelatedPerson.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] } ] }, "differential": { "element": [ { "id": "RelatedPerson", "path": "RelatedPerson", "min": 0, "max": "*" }, { "id": "RelatedPerson.identifier", "path": "RelatedPerson.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "RelatedPerson.active", "path": "RelatedPerson.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "RelatedPerson.patient", "path": "RelatedPerson.patient", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "RelatedPerson.relationship", "path": "RelatedPerson.relationship", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "The nature of the relationship between a patient and the related person", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype" } } }, { "id": "RelatedPerson.name", "path": "RelatedPerson.name", "min": 0, "max": "*", "type": [ { "code": "HumanName" } ], "isSummary": true }, { "id": "RelatedPerson.telecom", "path": "RelatedPerson.telecom", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "RelatedPerson.gender", "path": "RelatedPerson.gender", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" } } }, { "id": "RelatedPerson.birthDate", "path": "RelatedPerson.birthDate", "min": 0, "max": "1", "type": [ { "code": "date" } ], "isSummary": true }, { "id": "RelatedPerson.address", "path": "RelatedPerson.address", "min": 0, "max": "*", "type": [ { "code": "Address" } ], "isSummary": true }, { "id": "RelatedPerson.photo", "path": "RelatedPerson.photo", "min": 0, "max": "*", "type": [ { "code": "Attachment" } ] }, { "id": "RelatedPerson.period", "path": "RelatedPerson.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/RequestGroup", "resource": { "resourceType": "StructureDefinition", "id": "RequestGroup", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical Reasoning" } ], "url": "http://hl7.org/fhir/StructureDefinition/RequestGroup", "name": "RequestGroup", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "RequestGroup", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "RequestGroup", "path": "RequestGroup", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "RequestGroup.id", "path": "RequestGroup.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "RequestGroup.meta", "path": "RequestGroup.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "RequestGroup.implicitRules", "path": "RequestGroup.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "RequestGroup.language", "path": "RequestGroup.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "RequestGroup.text", "path": "RequestGroup.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "RequestGroup.contained", "path": "RequestGroup.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "RequestGroup.extension", "path": "RequestGroup.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "RequestGroup.modifierExtension", "path": "RequestGroup.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "RequestGroup.identifier", "path": "RequestGroup.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "RequestGroup.subject", "path": "RequestGroup.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ] }, { "id": "RequestGroup.context", "path": "RequestGroup.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ] }, { "id": "RequestGroup.occurrenceDateTime", "path": "RequestGroup.occurrenceDateTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "RequestGroup.author", "path": "RequestGroup.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "RequestGroup.reason[x]", "path": "RequestGroup.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RequestGroup.note", "path": "RequestGroup.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "RequestGroup.action", "path": "RequestGroup.action", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "rqg-1", "severity": "error", "human": "Must have resource or action but not both", "expression": "resource.exists() != action.exists()", "xpath": "exists(f:resource) != exists(f:action)" } ] }, { "id": "RequestGroup.action.id", "path": "RequestGroup.action.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.extension", "path": "RequestGroup.action.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "RequestGroup.action.modifierExtension", "path": "RequestGroup.action.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "RequestGroup.action.actionIdentifier", "path": "RequestGroup.action.actionIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "RequestGroup.action.label", "path": "RequestGroup.action.label", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.title", "path": "RequestGroup.action.title", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.description", "path": "RequestGroup.action.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.textEquivalent", "path": "RequestGroup.action.textEquivalent", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.code", "path": "RequestGroup.action.code", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "RequestGroup.action.documentation", "path": "RequestGroup.action.documentation", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "RequestGroup.action.condition", "path": "RequestGroup.action.condition", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "RequestGroup.action.condition.id", "path": "RequestGroup.action.condition.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.condition.extension", "path": "RequestGroup.action.condition.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "RequestGroup.action.condition.modifierExtension", "path": "RequestGroup.action.condition.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "RequestGroup.action.condition.kind", "path": "RequestGroup.action.condition.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The kind of condition for the action", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-condition-kind" } } }, { "id": "RequestGroup.action.condition.description", "path": "RequestGroup.action.condition.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.condition.language", "path": "RequestGroup.action.condition.language", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.condition.expression", "path": "RequestGroup.action.condition.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.relatedAction", "path": "RequestGroup.action.relatedAction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "RequestGroup.action.relatedAction.id", "path": "RequestGroup.action.relatedAction.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.relatedAction.extension", "path": "RequestGroup.action.relatedAction.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "RequestGroup.action.relatedAction.modifierExtension", "path": "RequestGroup.action.relatedAction.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "RequestGroup.action.relatedAction.actionIdentifier", "path": "RequestGroup.action.relatedAction.actionIdentifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "RequestGroup.action.relatedAction.relationship", "path": "RequestGroup.action.relatedAction.relationship", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines the types of relationships between actions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-relationship-type" } } }, { "id": "RequestGroup.action.relatedAction.offset[x]", "path": "RequestGroup.action.relatedAction.offset[x]", "min": 0, "max": "1", "type": [ { "code": "Duration" }, { "code": "Range" } ] }, { "id": "RequestGroup.action.timing[x]", "path": "RequestGroup.action.timing[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Duration" }, { "code": "Range" }, { "code": "Timing" } ] }, { "id": "RequestGroup.action.participant", "path": "RequestGroup.action.participant", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Person" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "RequestGroup.action.type", "path": "RequestGroup.action.type", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The type of action to be performed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-type" } } }, { "id": "RequestGroup.action.groupingBehavior", "path": "RequestGroup.action.groupingBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines organization behavior of a group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-grouping-behavior" } } }, { "id": "RequestGroup.action.selectionBehavior", "path": "RequestGroup.action.selectionBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines selection behavior of a group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-selection-behavior" } } }, { "id": "RequestGroup.action.requiredBehavior", "path": "RequestGroup.action.requiredBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines requiredness behavior for selecting an action or an action group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-required-behavior" } } }, { "id": "RequestGroup.action.precheckBehavior", "path": "RequestGroup.action.precheckBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines selection frequency behavior for an action or group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-precheck-behavior" } } }, { "id": "RequestGroup.action.cardinalityBehavior", "path": "RequestGroup.action.cardinalityBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines behavior for an action or a group for how many times that item may be repeated", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-cardinality-behavior" } } }, { "id": "RequestGroup.action.resource", "path": "RequestGroup.action.resource", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "rqg-1" ] }, { "id": "RequestGroup.action.action", "path": "RequestGroup.action.action", "min": 0, "max": "*", "contentReference": "#RequestGroup.action", "condition": [ "rqg-1" ] } ] }, "differential": { "element": [ { "id": "RequestGroup", "path": "RequestGroup", "min": 0, "max": "*" }, { "id": "RequestGroup.identifier", "path": "RequestGroup.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "RequestGroup.subject", "path": "RequestGroup.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ] }, { "id": "RequestGroup.context", "path": "RequestGroup.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ] }, { "id": "RequestGroup.occurrenceDateTime", "path": "RequestGroup.occurrenceDateTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "RequestGroup.author", "path": "RequestGroup.author", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "RequestGroup.reason[x]", "path": "RequestGroup.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RequestGroup.note", "path": "RequestGroup.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "RequestGroup.action", "path": "RequestGroup.action", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "rqg-1", "severity": "error", "human": "Must have resource or action but not both", "expression": "resource.exists() != action.exists()", "xpath": "exists(f:resource) != exists(f:action)" } ] }, { "id": "RequestGroup.action.actionIdentifier", "path": "RequestGroup.action.actionIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "RequestGroup.action.label", "path": "RequestGroup.action.label", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.title", "path": "RequestGroup.action.title", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.description", "path": "RequestGroup.action.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.textEquivalent", "path": "RequestGroup.action.textEquivalent", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.code", "path": "RequestGroup.action.code", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "RequestGroup.action.documentation", "path": "RequestGroup.action.documentation", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "RequestGroup.action.condition", "path": "RequestGroup.action.condition", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "RequestGroup.action.condition.kind", "path": "RequestGroup.action.condition.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The kind of condition for the action", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-condition-kind" } } }, { "id": "RequestGroup.action.condition.description", "path": "RequestGroup.action.condition.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.condition.language", "path": "RequestGroup.action.condition.language", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.condition.expression", "path": "RequestGroup.action.condition.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RequestGroup.action.relatedAction", "path": "RequestGroup.action.relatedAction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "RequestGroup.action.relatedAction.actionIdentifier", "path": "RequestGroup.action.relatedAction.actionIdentifier", "min": 1, "max": "1", "type": [ { "code": "Identifier" } ] }, { "id": "RequestGroup.action.relatedAction.relationship", "path": "RequestGroup.action.relatedAction.relationship", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines the types of relationships between actions", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-relationship-type" } } }, { "id": "RequestGroup.action.relatedAction.offset[x]", "path": "RequestGroup.action.relatedAction.offset[x]", "min": 0, "max": "1", "type": [ { "code": "Duration" }, { "code": "Range" } ] }, { "id": "RequestGroup.action.timing[x]", "path": "RequestGroup.action.timing[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Duration" }, { "code": "Range" }, { "code": "Timing" } ] }, { "id": "RequestGroup.action.participant", "path": "RequestGroup.action.participant", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Person" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ] }, { "id": "RequestGroup.action.type", "path": "RequestGroup.action.type", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The type of action to be performed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-type" } } }, { "id": "RequestGroup.action.groupingBehavior", "path": "RequestGroup.action.groupingBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines organization behavior of a group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-grouping-behavior" } } }, { "id": "RequestGroup.action.selectionBehavior", "path": "RequestGroup.action.selectionBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines selection behavior of a group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-selection-behavior" } } }, { "id": "RequestGroup.action.requiredBehavior", "path": "RequestGroup.action.requiredBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines requiredness behavior for selecting an action or an action group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-required-behavior" } } }, { "id": "RequestGroup.action.precheckBehavior", "path": "RequestGroup.action.precheckBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines selection frequency behavior for an action or group", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-precheck-behavior" } } }, { "id": "RequestGroup.action.cardinalityBehavior", "path": "RequestGroup.action.cardinalityBehavior", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Defines behavior for an action or a group for how many times that item may be repeated", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/action-cardinality-behavior" } } }, { "id": "RequestGroup.action.resource", "path": "RequestGroup.action.resource", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "condition": [ "rqg-1" ] }, { "id": "RequestGroup.action.action", "path": "RequestGroup.action.action", "min": 0, "max": "*", "contentReference": "#RequestGroup.action", "condition": [ "rqg-1" ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ResearchStudy", "resource": { "resourceType": "StructureDefinition", "id": "ResearchStudy", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "rcrim" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Research" } ], "url": "http://hl7.org/fhir/StructureDefinition/ResearchStudy", "name": "ResearchStudy", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ResearchStudy", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ResearchStudy", "path": "ResearchStudy", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ResearchStudy.id", "path": "ResearchStudy.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ResearchStudy.meta", "path": "ResearchStudy.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ResearchStudy.implicitRules", "path": "ResearchStudy.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ResearchStudy.language", "path": "ResearchStudy.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ResearchStudy.text", "path": "ResearchStudy.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ResearchStudy.contained", "path": "ResearchStudy.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ResearchStudy.extension", "path": "ResearchStudy.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ResearchStudy.modifierExtension", "path": "ResearchStudy.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ResearchStudy.identifier", "path": "ResearchStudy.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ResearchStudy.title", "path": "ResearchStudy.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ResearchStudy.protocol", "path": "ResearchStudy.protocol", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" } ], "isSummary": true }, { "id": "ResearchStudy.partOf", "path": "ResearchStudy.partOf", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ResearchStudy" } ], "isSummary": true }, { "id": "ResearchStudy.status", "path": "ResearchStudy.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes that convey the current status of the research study", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/research-study-status" } } }, { "id": "ResearchStudy.category", "path": "ResearchStudy.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes that describe the type of research study. E.g. Study phase, Interventional/Observational, blinding type, etc." } }, { "id": "ResearchStudy.focus", "path": "ResearchStudy.focus", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for medications, devices, conditions and other interventions" } }, { "id": "ResearchStudy.contact", "path": "ResearchStudy.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ResearchStudy.relatedArtifact", "path": "ResearchStudy.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "ResearchStudy.keyword", "path": "ResearchStudy.keyword", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Words associated with the study that may be useful in discovery" } }, { "id": "ResearchStudy.jurisdiction", "path": "ResearchStudy.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ResearchStudy.description", "path": "ResearchStudy.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ResearchStudy.enrollment", "path": "ResearchStudy.enrollment", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "ResearchStudy.period", "path": "ResearchStudy.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "ResearchStudy.sponsor", "path": "ResearchStudy.sponsor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "ResearchStudy.principalInvestigator", "path": "ResearchStudy.principalInvestigator", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "ResearchStudy.site", "path": "ResearchStudy.site", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "ResearchStudy.reasonStopped", "path": "ResearchStudy.reasonStopped", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "ResearchStudy.note", "path": "ResearchStudy.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "ResearchStudy.arm", "path": "ResearchStudy.arm", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "ResearchStudy.arm.id", "path": "ResearchStudy.arm.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "ResearchStudy.arm.extension", "path": "ResearchStudy.arm.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ResearchStudy.arm.modifierExtension", "path": "ResearchStudy.arm.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "ResearchStudy.arm.name", "path": "ResearchStudy.arm.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ResearchStudy.arm.code", "path": "ResearchStudy.arm.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ] }, { "id": "ResearchStudy.arm.description", "path": "ResearchStudy.arm.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "ResearchStudy", "path": "ResearchStudy", "min": 0, "max": "*" }, { "id": "ResearchStudy.identifier", "path": "ResearchStudy.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ResearchStudy.title", "path": "ResearchStudy.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ResearchStudy.protocol", "path": "ResearchStudy.protocol", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" } ], "isSummary": true }, { "id": "ResearchStudy.partOf", "path": "ResearchStudy.partOf", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ResearchStudy" } ], "isSummary": true }, { "id": "ResearchStudy.status", "path": "ResearchStudy.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes that convey the current status of the research study", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/research-study-status" } } }, { "id": "ResearchStudy.category", "path": "ResearchStudy.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes that describe the type of research study. E.g. Study phase, Interventional/Observational, blinding type, etc." } }, { "id": "ResearchStudy.focus", "path": "ResearchStudy.focus", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for medications, devices, conditions and other interventions" } }, { "id": "ResearchStudy.contact", "path": "ResearchStudy.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ResearchStudy.relatedArtifact", "path": "ResearchStudy.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "ResearchStudy.keyword", "path": "ResearchStudy.keyword", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Words associated with the study that may be useful in discovery" } }, { "id": "ResearchStudy.jurisdiction", "path": "ResearchStudy.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ResearchStudy.description", "path": "ResearchStudy.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ResearchStudy.enrollment", "path": "ResearchStudy.enrollment", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "ResearchStudy.period", "path": "ResearchStudy.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "ResearchStudy.sponsor", "path": "ResearchStudy.sponsor", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "ResearchStudy.principalInvestigator", "path": "ResearchStudy.principalInvestigator", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "ResearchStudy.site", "path": "ResearchStudy.site", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "ResearchStudy.reasonStopped", "path": "ResearchStudy.reasonStopped", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "ResearchStudy.note", "path": "ResearchStudy.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "ResearchStudy.arm", "path": "ResearchStudy.arm", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "ResearchStudy.arm.name", "path": "ResearchStudy.arm.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ResearchStudy.arm.code", "path": "ResearchStudy.arm.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ] }, { "id": "ResearchStudy.arm.description", "path": "ResearchStudy.arm.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ResearchSubject", "resource": { "resourceType": "StructureDefinition", "id": "ResearchSubject", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "rcrim" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Research" } ], "url": "http://hl7.org/fhir/StructureDefinition/ResearchSubject", "name": "ResearchSubject", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ResearchSubject", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "ResearchSubject", "path": "ResearchSubject", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ResearchSubject.id", "path": "ResearchSubject.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ResearchSubject.meta", "path": "ResearchSubject.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ResearchSubject.implicitRules", "path": "ResearchSubject.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ResearchSubject.language", "path": "ResearchSubject.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ResearchSubject.text", "path": "ResearchSubject.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ResearchSubject.contained", "path": "ResearchSubject.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ResearchSubject.extension", "path": "ResearchSubject.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ResearchSubject.modifierExtension", "path": "ResearchSubject.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ResearchSubject.identifier", "path": "ResearchSubject.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ResearchSubject.status", "path": "ResearchSubject.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates the progression of a study subject through a study", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/research-subject-status" } } }, { "id": "ResearchSubject.period", "path": "ResearchSubject.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "ResearchSubject.study", "path": "ResearchSubject.study", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ResearchStudy" } ], "isSummary": true }, { "id": "ResearchSubject.individual", "path": "ResearchSubject.individual", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "ResearchSubject.assignedArm", "path": "ResearchSubject.assignedArm", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ResearchSubject.actualArm", "path": "ResearchSubject.actualArm", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ResearchSubject.consent", "path": "ResearchSubject.consent", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Consent" } ] } ] }, "differential": { "element": [ { "id": "ResearchSubject", "path": "ResearchSubject", "min": 0, "max": "*" }, { "id": "ResearchSubject.identifier", "path": "ResearchSubject.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ResearchSubject.status", "path": "ResearchSubject.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Indicates the progression of a study subject through a study", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/research-subject-status" } } }, { "id": "ResearchSubject.period", "path": "ResearchSubject.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "ResearchSubject.study", "path": "ResearchSubject.study", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ResearchStudy" } ], "isSummary": true }, { "id": "ResearchSubject.individual", "path": "ResearchSubject.individual", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "ResearchSubject.assignedArm", "path": "ResearchSubject.assignedArm", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ResearchSubject.actualArm", "path": "ResearchSubject.actualArm", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ResearchSubject.consent", "path": "ResearchSubject.consent", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Consent" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/RiskAssessment", "resource": { "resourceType": "StructureDefinition", "id": "RiskAssessment", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Care Provision" } ], "url": "http://hl7.org/fhir/StructureDefinition/RiskAssessment", "name": "RiskAssessment", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "RiskAssessment", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "RiskAssessment", "path": "RiskAssessment", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "RiskAssessment.id", "path": "RiskAssessment.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "RiskAssessment.meta", "path": "RiskAssessment.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "RiskAssessment.implicitRules", "path": "RiskAssessment.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "RiskAssessment.language", "path": "RiskAssessment.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "RiskAssessment.text", "path": "RiskAssessment.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "RiskAssessment.contained", "path": "RiskAssessment.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "RiskAssessment.extension", "path": "RiskAssessment.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "RiskAssessment.modifierExtension", "path": "RiskAssessment.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "RiskAssessment.identifier", "path": "RiskAssessment.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "RiskAssessment.basedOn", "path": "RiskAssessment.basedOn", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RiskAssessment.parent", "path": "RiskAssessment.parent", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RiskAssessment.status", "path": "RiskAssessment.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The status of the risk assessment; e.g. preliminary, final, amended, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-status" } } }, { "id": "RiskAssessment.code", "path": "RiskAssessment.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "RiskAssessment.subject", "path": "RiskAssessment.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "RiskAssessment.context", "path": "RiskAssessment.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "RiskAssessment.occurrence[x]", "path": "RiskAssessment.occurrence[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "RiskAssessment.condition", "path": "RiskAssessment.condition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "isSummary": true }, { "id": "RiskAssessment.performer", "path": "RiskAssessment.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "RiskAssessment.reason[x]", "path": "RiskAssessment.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RiskAssessment.method", "path": "RiskAssessment.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The mechanism or algorithm used to make the assessment; e.g. TIMI, PRISM, Cardiff Type 2 diabetes, etc." } }, { "id": "RiskAssessment.basis", "path": "RiskAssessment.basis", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RiskAssessment.prediction", "path": "RiskAssessment.prediction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "ras-2", "severity": "error", "human": "Must be <= 100", "expression": "probability is decimal implies probability.as(decimal) <= 100", "xpath": "not(f:probabilityDecimal) or f:probabilityDecimal/@value <= 100" } ] }, { "id": "RiskAssessment.prediction.id", "path": "RiskAssessment.prediction.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "RiskAssessment.prediction.extension", "path": "RiskAssessment.prediction.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "RiskAssessment.prediction.modifierExtension", "path": "RiskAssessment.prediction.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "RiskAssessment.prediction.outcome", "path": "RiskAssessment.prediction.outcome", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The condition or other outcome; e.g. death, remission, amputation, infection, etc." } }, { "id": "RiskAssessment.prediction.probability[x]", "path": "RiskAssessment.prediction.probability[x]", "min": 0, "max": "1", "type": [ { "code": "decimal" }, { "code": "Range" }, { "code": "CodeableConcept" } ], "constraint": [ { "key": "ras-1", "severity": "error", "human": "low and high must be percentages, if present", "expression": "(low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))", "xpath": "(not(f:low) or f:low[f:code/@value='%' and f:system/@value='http://unitsofmeasure.org']) and (not(f:high) or f:high[f:code/@value='%' and f:system/@value='http://unitsofmeasure.org'])" } ], "binding": { "strength": "example", "description": "The likelihood of the occurrence of a specified outcome", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/risk-probability" } } }, { "id": "RiskAssessment.prediction.relativeRisk", "path": "RiskAssessment.prediction.relativeRisk", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "RiskAssessment.prediction.when[x]", "path": "RiskAssessment.prediction.when[x]", "min": 0, "max": "1", "type": [ { "code": "Period" }, { "code": "Range" } ] }, { "id": "RiskAssessment.prediction.rationale", "path": "RiskAssessment.prediction.rationale", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RiskAssessment.mitigation", "path": "RiskAssessment.mitigation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RiskAssessment.note", "path": "RiskAssessment.note", "min": 0, "max": "1", "type": [ { "code": "Annotation" } ] } ] }, "differential": { "element": [ { "id": "RiskAssessment", "path": "RiskAssessment", "min": 0, "max": "*" }, { "id": "RiskAssessment.identifier", "path": "RiskAssessment.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "RiskAssessment.basedOn", "path": "RiskAssessment.basedOn", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RiskAssessment.parent", "path": "RiskAssessment.parent", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RiskAssessment.status", "path": "RiskAssessment.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The status of the risk assessment; e.g. preliminary, final, amended, etc.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/observation-status" } } }, { "id": "RiskAssessment.code", "path": "RiskAssessment.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "RiskAssessment.subject", "path": "RiskAssessment.subject", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" } ], "isSummary": true }, { "id": "RiskAssessment.context", "path": "RiskAssessment.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "RiskAssessment.occurrence[x]", "path": "RiskAssessment.occurrence[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "RiskAssessment.condition", "path": "RiskAssessment.condition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "isSummary": true }, { "id": "RiskAssessment.performer", "path": "RiskAssessment.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "RiskAssessment.reason[x]", "path": "RiskAssessment.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RiskAssessment.method", "path": "RiskAssessment.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The mechanism or algorithm used to make the assessment; e.g. TIMI, PRISM, Cardiff Type 2 diabetes, etc." } }, { "id": "RiskAssessment.basis", "path": "RiskAssessment.basis", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "RiskAssessment.prediction", "path": "RiskAssessment.prediction", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ras-2", "severity": "error", "human": "Must be <= 100", "expression": "probability is decimal implies probability.as(decimal) <= 100", "xpath": "not(f:probabilityDecimal) or f:probabilityDecimal/@value <= 100" } ] }, { "id": "RiskAssessment.prediction.outcome", "path": "RiskAssessment.prediction.outcome", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The condition or other outcome; e.g. death, remission, amputation, infection, etc." } }, { "id": "RiskAssessment.prediction.probability[x]", "path": "RiskAssessment.prediction.probability[x]", "min": 0, "max": "1", "type": [ { "code": "decimal" }, { "code": "Range" }, { "code": "CodeableConcept" } ], "constraint": [ { "key": "ras-1", "severity": "error", "human": "low and high must be percentages, if present", "expression": "(low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))", "xpath": "(not(f:low) or f:low[f:code/@value='%' and f:system/@value='http://unitsofmeasure.org']) and (not(f:high) or f:high[f:code/@value='%' and f:system/@value='http://unitsofmeasure.org'])" } ], "binding": { "strength": "example", "description": "The likelihood of the occurrence of a specified outcome", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/risk-probability" } } }, { "id": "RiskAssessment.prediction.relativeRisk", "path": "RiskAssessment.prediction.relativeRisk", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "RiskAssessment.prediction.when[x]", "path": "RiskAssessment.prediction.when[x]", "min": 0, "max": "1", "type": [ { "code": "Period" }, { "code": "Range" } ] }, { "id": "RiskAssessment.prediction.rationale", "path": "RiskAssessment.prediction.rationale", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RiskAssessment.mitigation", "path": "RiskAssessment.mitigation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "RiskAssessment.note", "path": "RiskAssessment.note", "min": 0, "max": "1", "type": [ { "code": "Annotation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Schedule", "resource": { "resourceType": "StructureDefinition", "id": "Schedule", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Scheduling" } ], "url": "http://hl7.org/fhir/StructureDefinition/Schedule", "name": "Schedule", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Schedule", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Schedule", "path": "Schedule", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Schedule.id", "path": "Schedule.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Schedule.meta", "path": "Schedule.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Schedule.implicitRules", "path": "Schedule.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Schedule.language", "path": "Schedule.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Schedule.text", "path": "Schedule.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Schedule.contained", "path": "Schedule.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Schedule.extension", "path": "Schedule.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Schedule.modifierExtension", "path": "Schedule.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Schedule.identifier", "path": "Schedule.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Schedule.active", "path": "Schedule.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "Schedule.serviceCategory", "path": "Schedule.serviceCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-category" } } }, { "id": "Schedule.serviceType", "path": "Schedule.serviceType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-type" } } }, { "id": "Schedule.specialty", "path": "Schedule.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Additional details about where the content was created (e.g. clinical specialty)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "Schedule.actor", "path": "Schedule.actor", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "Schedule.planningHorizon", "path": "Schedule.planningHorizon", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Schedule.comment", "path": "Schedule.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "Schedule", "path": "Schedule", "min": 0, "max": "*" }, { "id": "Schedule.identifier", "path": "Schedule.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Schedule.active", "path": "Schedule.active", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true, "isModifier": true, "isSummary": true }, { "id": "Schedule.serviceCategory", "path": "Schedule.serviceCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-category" } } }, { "id": "Schedule.serviceType", "path": "Schedule.serviceType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-type" } } }, { "id": "Schedule.specialty", "path": "Schedule.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Additional details about where the content was created (e.g. clinical specialty)", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "Schedule.actor", "path": "Schedule.actor", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "Schedule.planningHorizon", "path": "Schedule.planningHorizon", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Schedule.comment", "path": "Schedule.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/SearchParameter", "resource": { "resourceType": "StructureDefinition", "id": "SearchParameter", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Content" } ], "url": "http://hl7.org/fhir/StructureDefinition/SearchParameter", "name": "SearchParameter", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "SearchParameter", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "SearchParameter", "path": "SearchParameter", "min": 1, "max": "1", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "spd-1", "severity": "error", "human": "If an xpath is present, there SHALL be an xpathUsage", "expression": "xpath.empty() or xpathUsage.exists()", "xpath": "not(exists(f:xpath)) or exists(f:xpathUsage)" }, { "key": "spd-2", "severity": "error", "human": "Search parameters can only have chain names when the search parameter type is 'reference'", "expression": "chain.empty() or type = 'reference'", "xpath": "not(exists(f:chain)) or (f:type/@value = 'reference')" } ] }, { "id": "SearchParameter.id", "path": "SearchParameter.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "SearchParameter.meta", "path": "SearchParameter.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "SearchParameter.implicitRules", "path": "SearchParameter.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "SearchParameter.language", "path": "SearchParameter.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "SearchParameter.text", "path": "SearchParameter.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "SearchParameter.contained", "path": "SearchParameter.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "SearchParameter.extension", "path": "SearchParameter.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "SearchParameter.modifierExtension", "path": "SearchParameter.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "SearchParameter.url", "path": "SearchParameter.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "SearchParameter.version", "path": "SearchParameter.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "SearchParameter.name", "path": "SearchParameter.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "SearchParameter.status", "path": "SearchParameter.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "SearchParameter.experimental", "path": "SearchParameter.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "SearchParameter.date", "path": "SearchParameter.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "SearchParameter.publisher", "path": "SearchParameter.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "SearchParameter.contact", "path": "SearchParameter.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "SearchParameter.useContext", "path": "SearchParameter.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "SearchParameter.jurisdiction", "path": "SearchParameter.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "SearchParameter.purpose", "path": "SearchParameter.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "SearchParameter.code", "path": "SearchParameter.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true }, { "id": "SearchParameter.base", "path": "SearchParameter.base", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "SearchParameter.type", "path": "SearchParameter.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Data types allowed to be used for search parameters.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-param-type" } } }, { "id": "SearchParameter.derivedFrom", "path": "SearchParameter.derivedFrom", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "SearchParameter.description", "path": "SearchParameter.description", "min": 1, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "SearchParameter.expression", "path": "SearchParameter.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "spd-1" ] }, { "id": "SearchParameter.xpath", "path": "SearchParameter.xpath", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "spd-1" ] }, { "id": "SearchParameter.xpathUsage", "path": "SearchParameter.xpathUsage", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "spd-1" ], "binding": { "strength": "required", "description": "How a search parameter relates to the set of elements returned by evaluating its xpath query.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-xpath-usage" } } }, { "id": "SearchParameter.target", "path": "SearchParameter.target", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "SearchParameter.comparator", "path": "SearchParameter.comparator", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "What Search Comparator Codes are supported in search", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-comparator" } } }, { "id": "SearchParameter.modifier", "path": "SearchParameter.modifier", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "A supported modifier for a search parameter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-modifier-code" } } }, { "id": "SearchParameter.chain", "path": "SearchParameter.chain", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "SearchParameter.component", "path": "SearchParameter.component", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "SearchParameter.component.id", "path": "SearchParameter.component.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "SearchParameter.component.extension", "path": "SearchParameter.component.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "SearchParameter.component.modifierExtension", "path": "SearchParameter.component.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "SearchParameter.component.definition", "path": "SearchParameter.component.definition", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/SearchParameter" } ] }, { "id": "SearchParameter.component.expression", "path": "SearchParameter.component.expression", "min": 1, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "SearchParameter", "path": "SearchParameter", "min": 1, "max": "1", "constraint": [ { "key": "spd-1", "severity": "error", "human": "If an xpath is present, there SHALL be an xpathUsage", "expression": "xpath.empty() or xpathUsage.exists()", "xpath": "not(exists(f:xpath)) or exists(f:xpathUsage)" }, { "key": "spd-2", "severity": "error", "human": "Search parameters can only have chain names when the search parameter type is 'reference'", "expression": "chain.empty() or type = 'reference'", "xpath": "not(exists(f:chain)) or (f:type/@value = 'reference')" } ] }, { "id": "SearchParameter.url", "path": "SearchParameter.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "SearchParameter.version", "path": "SearchParameter.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "SearchParameter.name", "path": "SearchParameter.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "SearchParameter.status", "path": "SearchParameter.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "SearchParameter.experimental", "path": "SearchParameter.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "SearchParameter.date", "path": "SearchParameter.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "SearchParameter.publisher", "path": "SearchParameter.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "SearchParameter.contact", "path": "SearchParameter.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "SearchParameter.useContext", "path": "SearchParameter.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "SearchParameter.jurisdiction", "path": "SearchParameter.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "SearchParameter.purpose", "path": "SearchParameter.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "SearchParameter.code", "path": "SearchParameter.code", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true }, { "id": "SearchParameter.base", "path": "SearchParameter.base", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "SearchParameter.type", "path": "SearchParameter.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Data types allowed to be used for search parameters.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-param-type" } } }, { "id": "SearchParameter.derivedFrom", "path": "SearchParameter.derivedFrom", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "SearchParameter.description", "path": "SearchParameter.description", "min": 1, "max": "1", "type": [ { "code": "markdown" } ], "isSummary": true }, { "id": "SearchParameter.expression", "path": "SearchParameter.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "spd-1" ] }, { "id": "SearchParameter.xpath", "path": "SearchParameter.xpath", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "spd-1" ] }, { "id": "SearchParameter.xpathUsage", "path": "SearchParameter.xpathUsage", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "spd-1" ], "binding": { "strength": "required", "description": "How a search parameter relates to the set of elements returned by evaluating its xpath query.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-xpath-usage" } } }, { "id": "SearchParameter.target", "path": "SearchParameter.target", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "One of the resource types defined as part of FHIR.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/resource-types" } } }, { "id": "SearchParameter.comparator", "path": "SearchParameter.comparator", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "What Search Comparator Codes are supported in search", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-comparator" } } }, { "id": "SearchParameter.modifier", "path": "SearchParameter.modifier", "min": 0, "max": "*", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "A supported modifier for a search parameter.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/search-modifier-code" } } }, { "id": "SearchParameter.chain", "path": "SearchParameter.chain", "min": 0, "max": "*", "type": [ { "code": "string" } ] }, { "id": "SearchParameter.component", "path": "SearchParameter.component", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "SearchParameter.component.definition", "path": "SearchParameter.component.definition", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/SearchParameter" } ] }, { "id": "SearchParameter.component.expression", "path": "SearchParameter.component.expression", "min": 1, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Sequence", "resource": { "resourceType": "StructureDefinition", "id": "Sequence", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cg" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Diagnostics" } ], "url": "http://hl7.org/fhir/StructureDefinition/Sequence", "name": "Sequence", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Sequence", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Sequence", "path": "Sequence", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "seq-3", "severity": "error", "human": "Only 0 and 1 are valid for coordinateSystem", "expression": "coordinateSystem = 1 or coordinateSystem = 0", "xpath": "count(f:coordinateSystem[@value=0 and @value=1]) = 1" } ] }, { "id": "Sequence.id", "path": "Sequence.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Sequence.meta", "path": "Sequence.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Sequence.implicitRules", "path": "Sequence.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Sequence.language", "path": "Sequence.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Sequence.text", "path": "Sequence.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Sequence.contained", "path": "Sequence.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Sequence.extension", "path": "Sequence.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Sequence.modifierExtension", "path": "Sequence.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Sequence.identifier", "path": "Sequence.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Sequence.type", "path": "Sequence.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "example", "description": "Type if a sequence -- DNA, RNA, or amino acid sequence", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/sequence-type" } } }, { "id": "Sequence.coordinateSystem", "path": "Sequence.coordinateSystem", "min": 1, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.patient", "path": "Sequence.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "Sequence.specimen", "path": "Sequence.specimen", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ], "isSummary": true }, { "id": "Sequence.device", "path": "Sequence.device", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "Sequence.performer", "path": "Sequence.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Sequence.quantity", "path": "Sequence.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity" } ], "isSummary": true }, { "id": "Sequence.referenceSeq", "path": "Sequence.referenceSeq", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "seq-4", "severity": "error", "human": "Only +1 and -1 are valid for strand", "expression": "strand.empty() or strand = 1 or strand = -1", "xpath": "not(exists(f:strand)) or count(f:strand[@value=-1 and @value=1]) = 1" }, { "key": "seq-5", "severity": "error", "human": "GenomeBuild and chromosome must be both contained if either one of them is contained", "expression": "(chromosome.empty() and genomeBuild.empty()) or (chromosome.exists() and genomeBuild.exists())", "xpath": "(exists(f:chromosome) and exists(f:genomeBuild)) or (not(exists(f:chromosome)) and not(exists(f:genomeBuild)))" }, { "key": "seq-6", "severity": "error", "human": "Have and only have one of the following elements in referenceSeq : 1. genomeBuild ; 2 referenceSeqId; 3. referenceSeqPointer; 4. referenceSeqString;", "expression": "(genomeBuild.count()+referenceSeqId.count()+ referenceSeqPointer.count()+ referenceSeqString.count()) = 1", "xpath": "count(f:genomeBuild)+count(f:referenceSeqId)+count(f:referenceSeqPointer)+count(f:referenceSeqString)=1" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.id", "path": "Sequence.referenceSeq.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Sequence.referenceSeq.extension", "path": "Sequence.referenceSeq.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Sequence.referenceSeq.modifierExtension", "path": "Sequence.referenceSeq.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Sequence.referenceSeq.chromosome", "path": "Sequence.referenceSeq.chromosome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Chromosome number for human", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/chromosome-human" } } }, { "id": "Sequence.referenceSeq.genomeBuild", "path": "Sequence.referenceSeq.genomeBuild", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.referenceSeqId", "path": "Sequence.referenceSeq.referenceSeqId", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Reference identifier", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/sequence-referenceSeq" } } }, { "id": "Sequence.referenceSeq.referenceSeqPointer", "path": "Sequence.referenceSeq.referenceSeqPointer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.referenceSeqString", "path": "Sequence.referenceSeq.referenceSeqString", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.strand", "path": "Sequence.referenceSeq.strand", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.windowStart", "path": "Sequence.referenceSeq.windowStart", "min": 1, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.windowEnd", "path": "Sequence.referenceSeq.windowEnd", "min": 1, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.variant", "path": "Sequence.variant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Sequence.variant.id", "path": "Sequence.variant.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Sequence.variant.extension", "path": "Sequence.variant.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Sequence.variant.modifierExtension", "path": "Sequence.variant.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Sequence.variant.start", "path": "Sequence.variant.start", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.variant.end", "path": "Sequence.variant.end", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.variant.observedAllele", "path": "Sequence.variant.observedAllele", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.variant.referenceAllele", "path": "Sequence.variant.referenceAllele", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.variant.cigar", "path": "Sequence.variant.cigar", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.variant.variantPointer", "path": "Sequence.variant.variantPointer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "isSummary": true }, { "id": "Sequence.observedSeq", "path": "Sequence.observedSeq", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.quality", "path": "Sequence.quality", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Sequence.quality.id", "path": "Sequence.quality.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Sequence.quality.extension", "path": "Sequence.quality.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Sequence.quality.modifierExtension", "path": "Sequence.quality.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Sequence.quality.type", "path": "Sequence.quality.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Type for quality report", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/quality-type" } } }, { "id": "Sequence.quality.standardSequence", "path": "Sequence.quality.standardSequence", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "Sequence.quality.start", "path": "Sequence.quality.start", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.quality.end", "path": "Sequence.quality.end", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.quality.score", "path": "Sequence.quality.score", "min": 0, "max": "1", "type": [ { "code": "Quantity" } ], "isSummary": true }, { "id": "Sequence.quality.method", "path": "Sequence.quality.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "Sequence.quality.truthTP", "path": "Sequence.quality.truthTP", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.queryTP", "path": "Sequence.quality.queryTP", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.truthFN", "path": "Sequence.quality.truthFN", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.queryFP", "path": "Sequence.quality.queryFP", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.gtFP", "path": "Sequence.quality.gtFP", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.precision", "path": "Sequence.quality.precision", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.recall", "path": "Sequence.quality.recall", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.fScore", "path": "Sequence.quality.fScore", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.readCoverage", "path": "Sequence.readCoverage", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.repository", "path": "Sequence.repository", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Sequence.repository.id", "path": "Sequence.repository.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Sequence.repository.extension", "path": "Sequence.repository.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Sequence.repository.modifierExtension", "path": "Sequence.repository.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Sequence.repository.type", "path": "Sequence.repository.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Type for access of external uri", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/repository-type" } } }, { "id": "Sequence.repository.url", "path": "Sequence.repository.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Sequence.repository.name", "path": "Sequence.repository.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.repository.datasetId", "path": "Sequence.repository.datasetId", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.repository.variantsetId", "path": "Sequence.repository.variantsetId", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.repository.readsetId", "path": "Sequence.repository.readsetId", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.pointer", "path": "Sequence.pointer", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" } ], "isSummary": true }, { "id": "Sequence.structureVariant", "path": "Sequence.structureVariant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Sequence.structureVariant.id", "path": "Sequence.structureVariant.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Sequence.structureVariant.extension", "path": "Sequence.structureVariant.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Sequence.structureVariant.modifierExtension", "path": "Sequence.structureVariant.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Sequence.structureVariant.precisionOfBoundaries", "path": "Sequence.structureVariant.precisionOfBoundaries", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.structureVariant.reportedaCGHRatio", "path": "Sequence.structureVariant.reportedaCGHRatio", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.structureVariant.length", "path": "Sequence.structureVariant.length", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.structureVariant.outer", "path": "Sequence.structureVariant.outer", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Sequence.structureVariant.outer.id", "path": "Sequence.structureVariant.outer.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Sequence.structureVariant.outer.extension", "path": "Sequence.structureVariant.outer.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Sequence.structureVariant.outer.modifierExtension", "path": "Sequence.structureVariant.outer.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Sequence.structureVariant.outer.start", "path": "Sequence.structureVariant.outer.start", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.structureVariant.outer.end", "path": "Sequence.structureVariant.outer.end", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.structureVariant.inner", "path": "Sequence.structureVariant.inner", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Sequence.structureVariant.inner.id", "path": "Sequence.structureVariant.inner.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Sequence.structureVariant.inner.extension", "path": "Sequence.structureVariant.inner.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Sequence.structureVariant.inner.modifierExtension", "path": "Sequence.structureVariant.inner.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Sequence.structureVariant.inner.start", "path": "Sequence.structureVariant.inner.start", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.structureVariant.inner.end", "path": "Sequence.structureVariant.inner.end", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "Sequence", "path": "Sequence", "min": 0, "max": "*", "constraint": [ { "key": "seq-3", "severity": "error", "human": "Only 0 and 1 are valid for coordinateSystem", "expression": "coordinateSystem = 1 or coordinateSystem = 0", "xpath": "count(f:coordinateSystem[@value=0 and @value=1]) = 1" } ] }, { "id": "Sequence.identifier", "path": "Sequence.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Sequence.type", "path": "Sequence.type", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "example", "description": "Type if a sequence -- DNA, RNA, or amino acid sequence", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/sequence-type" } } }, { "id": "Sequence.coordinateSystem", "path": "Sequence.coordinateSystem", "min": 1, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.patient", "path": "Sequence.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "Sequence.specimen", "path": "Sequence.specimen", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ], "isSummary": true }, { "id": "Sequence.device", "path": "Sequence.device", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true }, { "id": "Sequence.performer", "path": "Sequence.performer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "Sequence.quantity", "path": "Sequence.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity" } ], "isSummary": true }, { "id": "Sequence.referenceSeq", "path": "Sequence.referenceSeq", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "seq-4", "severity": "error", "human": "Only +1 and -1 are valid for strand", "expression": "strand.empty() or strand = 1 or strand = -1", "xpath": "not(exists(f:strand)) or count(f:strand[@value=-1 and @value=1]) = 1" }, { "key": "seq-5", "severity": "error", "human": "GenomeBuild and chromosome must be both contained if either one of them is contained", "expression": "(chromosome.empty() and genomeBuild.empty()) or (chromosome.exists() and genomeBuild.exists())", "xpath": "(exists(f:chromosome) and exists(f:genomeBuild)) or (not(exists(f:chromosome)) and not(exists(f:genomeBuild)))" }, { "key": "seq-6", "severity": "error", "human": "Have and only have one of the following elements in referenceSeq : 1. genomeBuild ; 2 referenceSeqId; 3. referenceSeqPointer; 4. referenceSeqString;", "expression": "(genomeBuild.count()+referenceSeqId.count()+ referenceSeqPointer.count()+ referenceSeqString.count()) = 1", "xpath": "count(f:genomeBuild)+count(f:referenceSeqId)+count(f:referenceSeqPointer)+count(f:referenceSeqString)=1" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.chromosome", "path": "Sequence.referenceSeq.chromosome", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Chromosome number for human", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/chromosome-human" } } }, { "id": "Sequence.referenceSeq.genomeBuild", "path": "Sequence.referenceSeq.genomeBuild", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.referenceSeqId", "path": "Sequence.referenceSeq.referenceSeqId", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Reference identifier", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/sequence-referenceSeq" } } }, { "id": "Sequence.referenceSeq.referenceSeqPointer", "path": "Sequence.referenceSeq.referenceSeqPointer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.referenceSeqString", "path": "Sequence.referenceSeq.referenceSeqString", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.strand", "path": "Sequence.referenceSeq.strand", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.windowStart", "path": "Sequence.referenceSeq.windowStart", "min": 1, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.referenceSeq.windowEnd", "path": "Sequence.referenceSeq.windowEnd", "min": 1, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.variant", "path": "Sequence.variant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Sequence.variant.start", "path": "Sequence.variant.start", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.variant.end", "path": "Sequence.variant.end", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.variant.observedAllele", "path": "Sequence.variant.observedAllele", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.variant.referenceAllele", "path": "Sequence.variant.referenceAllele", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.variant.cigar", "path": "Sequence.variant.cigar", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.variant.variantPointer", "path": "Sequence.variant.variantPointer", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" } ], "isSummary": true }, { "id": "Sequence.observedSeq", "path": "Sequence.observedSeq", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.quality", "path": "Sequence.quality", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Sequence.quality.type", "path": "Sequence.quality.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Type for quality report", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/quality-type" } } }, { "id": "Sequence.quality.standardSequence", "path": "Sequence.quality.standardSequence", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "Sequence.quality.start", "path": "Sequence.quality.start", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.quality.end", "path": "Sequence.quality.end", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.quality.score", "path": "Sequence.quality.score", "min": 0, "max": "1", "type": [ { "code": "Quantity" } ], "isSummary": true }, { "id": "Sequence.quality.method", "path": "Sequence.quality.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "Sequence.quality.truthTP", "path": "Sequence.quality.truthTP", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.queryTP", "path": "Sequence.quality.queryTP", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.truthFN", "path": "Sequence.quality.truthFN", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.queryFP", "path": "Sequence.quality.queryFP", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.gtFP", "path": "Sequence.quality.gtFP", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.precision", "path": "Sequence.quality.precision", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.recall", "path": "Sequence.quality.recall", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.quality.fScore", "path": "Sequence.quality.fScore", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.readCoverage", "path": "Sequence.readCoverage", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.repository", "path": "Sequence.repository", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Sequence.repository.type", "path": "Sequence.repository.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Type for access of external uri", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/repository-type" } } }, { "id": "Sequence.repository.url", "path": "Sequence.repository.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Sequence.repository.name", "path": "Sequence.repository.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.repository.datasetId", "path": "Sequence.repository.datasetId", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.repository.variantsetId", "path": "Sequence.repository.variantsetId", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.repository.readsetId", "path": "Sequence.repository.readsetId", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.pointer", "path": "Sequence.pointer", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" } ], "isSummary": true }, { "id": "Sequence.structureVariant", "path": "Sequence.structureVariant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Sequence.structureVariant.precisionOfBoundaries", "path": "Sequence.structureVariant.precisionOfBoundaries", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Sequence.structureVariant.reportedaCGHRatio", "path": "Sequence.structureVariant.reportedaCGHRatio", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "Sequence.structureVariant.length", "path": "Sequence.structureVariant.length", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.structureVariant.outer", "path": "Sequence.structureVariant.outer", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Sequence.structureVariant.outer.start", "path": "Sequence.structureVariant.outer.start", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.structureVariant.outer.end", "path": "Sequence.structureVariant.outer.end", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.structureVariant.inner", "path": "Sequence.structureVariant.inner", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Sequence.structureVariant.inner.start", "path": "Sequence.structureVariant.inner.start", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "Sequence.structureVariant.inner.end", "path": "Sequence.structureVariant.inner.end", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/ServiceDefinition", "resource": { "resourceType": "StructureDefinition", "id": "ServiceDefinition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical Reasoning" } ], "url": "http://hl7.org/fhir/StructureDefinition/ServiceDefinition", "name": "ServiceDefinition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "ServiceDefinition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "ServiceDefinition", "path": "ServiceDefinition", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "ServiceDefinition.id", "path": "ServiceDefinition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "ServiceDefinition.meta", "path": "ServiceDefinition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "ServiceDefinition.implicitRules", "path": "ServiceDefinition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "ServiceDefinition.language", "path": "ServiceDefinition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "ServiceDefinition.text", "path": "ServiceDefinition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "ServiceDefinition.contained", "path": "ServiceDefinition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "ServiceDefinition.extension", "path": "ServiceDefinition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "ServiceDefinition.modifierExtension", "path": "ServiceDefinition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "ServiceDefinition.url", "path": "ServiceDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ServiceDefinition.identifier", "path": "ServiceDefinition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ServiceDefinition.version", "path": "ServiceDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ServiceDefinition.name", "path": "ServiceDefinition.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ServiceDefinition.title", "path": "ServiceDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ServiceDefinition.status", "path": "ServiceDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ServiceDefinition.experimental", "path": "ServiceDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ServiceDefinition.date", "path": "ServiceDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ServiceDefinition.description", "path": "ServiceDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ServiceDefinition.purpose", "path": "ServiceDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ServiceDefinition.usage", "path": "ServiceDefinition.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ServiceDefinition.approvalDate", "path": "ServiceDefinition.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ServiceDefinition.lastReviewDate", "path": "ServiceDefinition.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ServiceDefinition.effectivePeriod", "path": "ServiceDefinition.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "ServiceDefinition.useContext", "path": "ServiceDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ServiceDefinition.jurisdiction", "path": "ServiceDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ServiceDefinition.topic", "path": "ServiceDefinition.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "ServiceDefinition.contributor", "path": "ServiceDefinition.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "ServiceDefinition.publisher", "path": "ServiceDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ServiceDefinition.contact", "path": "ServiceDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ServiceDefinition.copyright", "path": "ServiceDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ServiceDefinition.relatedArtifact", "path": "ServiceDefinition.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "ServiceDefinition.trigger", "path": "ServiceDefinition.trigger", "min": 0, "max": "*", "type": [ { "code": "TriggerDefinition" } ] }, { "id": "ServiceDefinition.dataRequirement", "path": "ServiceDefinition.dataRequirement", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] }, { "id": "ServiceDefinition.operationDefinition", "path": "ServiceDefinition.operationDefinition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition" } ] } ] }, "differential": { "element": [ { "id": "ServiceDefinition", "path": "ServiceDefinition", "min": 0, "max": "*" }, { "id": "ServiceDefinition.url", "path": "ServiceDefinition.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "ServiceDefinition.identifier", "path": "ServiceDefinition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "ServiceDefinition.version", "path": "ServiceDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ServiceDefinition.name", "path": "ServiceDefinition.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ServiceDefinition.title", "path": "ServiceDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ServiceDefinition.status", "path": "ServiceDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "ServiceDefinition.experimental", "path": "ServiceDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "ServiceDefinition.date", "path": "ServiceDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "ServiceDefinition.description", "path": "ServiceDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ServiceDefinition.purpose", "path": "ServiceDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ServiceDefinition.usage", "path": "ServiceDefinition.usage", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "ServiceDefinition.approvalDate", "path": "ServiceDefinition.approvalDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ServiceDefinition.lastReviewDate", "path": "ServiceDefinition.lastReviewDate", "min": 0, "max": "1", "type": [ { "code": "date" } ] }, { "id": "ServiceDefinition.effectivePeriod", "path": "ServiceDefinition.effectivePeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "ServiceDefinition.useContext", "path": "ServiceDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "ServiceDefinition.jurisdiction", "path": "ServiceDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "ServiceDefinition.topic", "path": "ServiceDefinition.topic", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ] }, { "id": "ServiceDefinition.contributor", "path": "ServiceDefinition.contributor", "min": 0, "max": "*", "type": [ { "code": "Contributor" } ] }, { "id": "ServiceDefinition.publisher", "path": "ServiceDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "ServiceDefinition.contact", "path": "ServiceDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "ServiceDefinition.copyright", "path": "ServiceDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "ServiceDefinition.relatedArtifact", "path": "ServiceDefinition.relatedArtifact", "min": 0, "max": "*", "type": [ { "code": "RelatedArtifact" } ] }, { "id": "ServiceDefinition.trigger", "path": "ServiceDefinition.trigger", "min": 0, "max": "*", "type": [ { "code": "TriggerDefinition" } ] }, { "id": "ServiceDefinition.dataRequirement", "path": "ServiceDefinition.dataRequirement", "min": 0, "max": "*", "type": [ { "code": "DataRequirement" } ] }, { "id": "ServiceDefinition.operationDefinition", "path": "ServiceDefinition.operationDefinition", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Slot", "resource": { "resourceType": "StructureDefinition", "id": "Slot", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Scheduling" } ], "url": "http://hl7.org/fhir/StructureDefinition/Slot", "name": "Slot", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Slot", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Slot", "path": "Slot", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Slot.id", "path": "Slot.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Slot.meta", "path": "Slot.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Slot.implicitRules", "path": "Slot.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Slot.language", "path": "Slot.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Slot.text", "path": "Slot.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Slot.contained", "path": "Slot.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Slot.extension", "path": "Slot.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Slot.modifierExtension", "path": "Slot.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Slot.identifier", "path": "Slot.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Slot.serviceCategory", "path": "Slot.serviceCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-category" } } }, { "id": "Slot.serviceType", "path": "Slot.serviceType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-type" } } }, { "id": "Slot.specialty", "path": "Slot.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Additional details about where the content was created (e.g. clinical specialty).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "Slot.appointmentType", "path": "Slot.appointmentType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0276" } } }, { "id": "Slot.schedule", "path": "Slot.schedule", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Schedule" } ], "isSummary": true }, { "id": "Slot.status", "path": "Slot.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The free/busy status of the slot.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/slotstatus" } } }, { "id": "Slot.start", "path": "Slot.start", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Slot.end", "path": "Slot.end", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Slot.overbooked", "path": "Slot.overbooked", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "meaningWhenMissing": "If overbooked is missing, systems may assume that there are still appointments available" }, { "id": "Slot.comment", "path": "Slot.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "Slot", "path": "Slot", "min": 0, "max": "*" }, { "id": "Slot.identifier", "path": "Slot.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Slot.serviceCategory", "path": "Slot.serviceCategory", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-category" } } }, { "id": "Slot.serviceType", "path": "Slot.serviceType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/service-type" } } }, { "id": "Slot.specialty", "path": "Slot.specialty", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Additional details about where the content was created (e.g. clinical specialty).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } } }, { "id": "Slot.appointmentType", "path": "Slot.appointmentType", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0276" } } }, { "id": "Slot.schedule", "path": "Slot.schedule", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Schedule" } ], "isSummary": true }, { "id": "Slot.status", "path": "Slot.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The free/busy status of the slot.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/slotstatus" } } }, { "id": "Slot.start", "path": "Slot.start", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Slot.end", "path": "Slot.end", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Slot.overbooked", "path": "Slot.overbooked", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "meaningWhenMissing": "If overbooked is missing, systems may assume that there are still appointments available" }, { "id": "Slot.comment", "path": "Slot.comment", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Specimen", "resource": { "resourceType": "StructureDefinition", "id": "Specimen", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Diagnostics" } ], "url": "http://hl7.org/fhir/StructureDefinition/Specimen", "name": "Specimen", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Specimen", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Specimen", "path": "Specimen", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Specimen.id", "path": "Specimen.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Specimen.meta", "path": "Specimen.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Specimen.implicitRules", "path": "Specimen.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Specimen.language", "path": "Specimen.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Specimen.text", "path": "Specimen.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Specimen.contained", "path": "Specimen.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Specimen.extension", "path": "Specimen.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Specimen.modifierExtension", "path": "Specimen.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Specimen.identifier", "path": "Specimen.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Specimen.accessionIdentifier", "path": "Specimen.accessionIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Specimen.status", "path": "Specimen.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes providing the status/availability of a specimen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/specimen-status" } } }, { "id": "Specimen.type", "path": "Specimen.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The type of the specimen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0487" } } }, { "id": "Specimen.subject", "path": "Specimen.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ], "isSummary": true }, { "id": "Specimen.receivedTime", "path": "Specimen.receivedTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Specimen.parent", "path": "Specimen.parent", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ] }, { "id": "Specimen.request", "path": "Specimen.request", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" } ] }, { "id": "Specimen.collection", "path": "Specimen.collection", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Specimen.collection.id", "path": "Specimen.collection.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Specimen.collection.extension", "path": "Specimen.collection.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Specimen.collection.modifierExtension", "path": "Specimen.collection.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Specimen.collection.collector", "path": "Specimen.collection.collector", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "Specimen.collection.collected[x]", "path": "Specimen.collection.collected[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "Specimen.collection.quantity", "path": "Specimen.collection.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Specimen.collection.method", "path": "Specimen.collection.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The technique that is used to perform the procedure", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/specimen-collection-method" } } }, { "id": "Specimen.collection.bodySite", "path": "Specimen.collection.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "Specimen.treatment", "path": "Specimen.treatment", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Specimen.treatment.id", "path": "Specimen.treatment.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Specimen.treatment.extension", "path": "Specimen.treatment.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Specimen.treatment.modifierExtension", "path": "Specimen.treatment.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Specimen.treatment.description", "path": "Specimen.treatment.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Specimen.treatment.procedure", "path": "Specimen.treatment.procedure", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Type indicating the technique used to process the specimen", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/specimen-treatment-procedure" } } }, { "id": "Specimen.treatment.additive", "path": "Specimen.treatment.additive", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Specimen.treatment.time[x]", "path": "Specimen.treatment.time[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ] }, { "id": "Specimen.container", "path": "Specimen.container", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Specimen.container.id", "path": "Specimen.container.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Specimen.container.extension", "path": "Specimen.container.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Specimen.container.modifierExtension", "path": "Specimen.container.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Specimen.container.identifier", "path": "Specimen.container.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Specimen.container.description", "path": "Specimen.container.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Specimen.container.type", "path": "Specimen.container.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Type of specimen container", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/specimen-container-type" } } }, { "id": "Specimen.container.capacity", "path": "Specimen.container.capacity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Specimen.container.specimenQuantity", "path": "Specimen.container.specimenQuantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Specimen.container.additive[x]", "path": "Specimen.container.additive[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ], "binding": { "strength": "example", "description": "Substance added to specimen container", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0371" } } }, { "id": "Specimen.note", "path": "Specimen.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] }, "differential": { "element": [ { "id": "Specimen", "path": "Specimen", "min": 0, "max": "*" }, { "id": "Specimen.identifier", "path": "Specimen.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Specimen.accessionIdentifier", "path": "Specimen.accessionIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Specimen.status", "path": "Specimen.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Codes providing the status/availability of a specimen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/specimen-status" } } }, { "id": "Specimen.type", "path": "Specimen.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The type of the specimen.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0487" } } }, { "id": "Specimen.subject", "path": "Specimen.subject", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ], "isSummary": true }, { "id": "Specimen.receivedTime", "path": "Specimen.receivedTime", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Specimen.parent", "path": "Specimen.parent", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" } ] }, { "id": "Specimen.request", "path": "Specimen.request", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" } ] }, { "id": "Specimen.collection", "path": "Specimen.collection", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Specimen.collection.collector", "path": "Specimen.collection.collector", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "Specimen.collection.collected[x]", "path": "Specimen.collection.collected[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true }, { "id": "Specimen.collection.quantity", "path": "Specimen.collection.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Specimen.collection.method", "path": "Specimen.collection.method", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "The technique that is used to perform the procedure", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/specimen-collection-method" } } }, { "id": "Specimen.collection.bodySite", "path": "Specimen.collection.bodySite", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } } }, { "id": "Specimen.treatment", "path": "Specimen.treatment", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Specimen.treatment.description", "path": "Specimen.treatment.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Specimen.treatment.procedure", "path": "Specimen.treatment.procedure", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Type indicating the technique used to process the specimen", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/specimen-treatment-procedure" } } }, { "id": "Specimen.treatment.additive", "path": "Specimen.treatment.additive", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ] }, { "id": "Specimen.treatment.time[x]", "path": "Specimen.treatment.time[x]", "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ] }, { "id": "Specimen.container", "path": "Specimen.container", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Specimen.container.identifier", "path": "Specimen.container.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Specimen.container.description", "path": "Specimen.container.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "Specimen.container.type", "path": "Specimen.container.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Type of specimen container", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/specimen-container-type" } } }, { "id": "Specimen.container.capacity", "path": "Specimen.container.capacity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Specimen.container.specimenQuantity", "path": "Specimen.container.specimenQuantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "Specimen.container.additive[x]", "path": "Specimen.container.additive[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ], "binding": { "strength": "example", "description": "Substance added to specimen container", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v2-0371" } } }, { "id": "Specimen.note", "path": "Specimen.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/StructureDefinition", "resource": { "resourceType": "StructureDefinition", "id": "StructureDefinition", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Content" } ], "url": "http://hl7.org/fhir/StructureDefinition/StructureDefinition", "name": "StructureDefinition", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "StructureDefinition", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "StructureDefinition", "path": "StructureDefinition", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "sdf-9", "requirements": "Because these 3 fields seem to be have overlapping meaning with the ones in the root of StructureDefinition", "severity": "error", "human": "In any snapshot or differential, no label, code or requirements on the an element without a \".\" in the path (e.g. the first element)", "expression": "children().element.first().label.empty() and children().element.first().code.empty() and children().element.first().requirements.empty()", "xpath": "not(exists(f:snapshot/f:element[not(contains(f:path/@value, '.')) and (f:label or f:code or f:requirements)])) and not(exists(f:differential/f:element[not(contains(f:path/@value, '.')) and (f:label or f:code or f:requirements)]))" }, { "key": "sdf-19", "requirements": "custom types only in logical models", "severity": "error", "human": "Custom types can only be used in logical models", "expression": "kind = 'logical' or (differential.element.type.code.all(hasValue() implies matches('^[a-zA-Z0-9]+$')) and snapshot.element.type.code.all(hasValue() implies matches('^[a-zA-Z0-9]+$')))", "xpath": "(f:kind/@value = 'logical') or (true)" }, { "key": "sdf-16", "requirements": "element ids need to be unique", "severity": "error", "human": "All element definitions must have unique ids (snapshot)", "expression": "snapshot.element.id.trace('ids').isDistinct()", "xpath": "count(*/f:element)=count(*/f:element/@id)" }, { "key": "sdf-18", "requirements": "contextInvariant", "severity": "error", "human": "Context Invariants can only be used for extensions", "expression": "contextInvariant.exists() implies type = 'Extension'", "xpath": "not(exists(f:contextInvariant)) or (f:type/@value = 'Extension')" }, { "key": "sdf-17", "requirements": "element ids need to be unique", "severity": "error", "human": "All element definitions must have unique ids (diff)", "expression": "differential.element.id.trace('ids').isDistinct()", "xpath": "count(*/f:element)=count(*/f:element/@id)" }, { "key": "sdf-12", "requirements": "Ensure that element.base appears with base or not", "severity": "error", "human": "element.base cannot appear if there is no base on the structure definition", "expression": "snapshot.exists() implies (snapshot.element.base.exists() = baseDefinition.exists())", "xpath": "f:baseDefinition or not(exists(f:snapshot/f:element/f:base) or exists(f:differential/f:element/f:base))" }, { "key": "sdf-11", "requirements": "Ensure that the type is not inconsistent with the other information in the structure", "severity": "error", "human": "If there's a type, its content must match the path name in the first element of a snapshot", "expression": "snapshot.empty() or snapshot.element.first().path = type", "xpath": "not(exists(f:snapshot)) or (f:type/@value = f:snapshot/f:element[1]/f:path/@value)" }, { "key": "sdf-14", "requirements": "elements have id", "severity": "error", "human": "All element definitions must have an id", "expression": "snapshot.element.all(id.exists()) and differential.element.all(id.exists())", "xpath": "count(*/f:element)=count(*/f:element/@id)" }, { "key": "sdf-1", "severity": "error", "human": "Element paths must be unique unless the structure is a constraint", "expression": "derivation = 'constraint' or snapshot.element.select(path).isDistinct()", "xpath": "(f:derivation/@value = 'constraint') or (count(f:snapshot/f:element) = count(distinct-values(f:snapshot/f:element/f:path/@value)))" }, { "key": "sdf-7", "severity": "error", "human": "If the structure describes a base Resource or Type, the URL has to start with \"http://hl7.org/fhir/StructureDefinition/\" and the tail must match the id", "expression": "(derivation = 'constraint') or (kind = 'logical') or (url = 'http://hl7.org/fhir/StructureDefinition/'+id)", "xpath": "(f:derivation/@value = 'constraint') or (f:derivation/@value = 'logical') or (f:url/@value=concat('http://hl7.org/fhir/StructureDefinition/', f:id/@value))" }, { "key": "sdf-6", "severity": "error", "human": "A structure must have either a differential, or a snapshot (or both)", "expression": "snapshot.exists() or differential.exists()", "xpath": "exists(f:snapshot) or exists(f:differential)" }, { "key": "sdf-5", "severity": "error", "human": "If the structure defines an extension then the structure must have context information", "expression": "type != 'Extension' or derivation = 'specialization' or (context.exists() and contextType.exists())", "xpath": "not(f:type/@value = 'extension') or (f:derivation/@value = 'specialization') or (exists(f:context) and exists(f:contextType))" }, { "key": "sdf-4", "requirements": "Ensure that the base types are abstract", "severity": "error", "human": "If the structure is not abstract, then there SHALL be a baseDefinition", "expression": "abstract = true or baseDefinition.exists()", "xpath": "(f:abstract/@value=true()) or exists(f:baseDefinition)" } ] }, { "id": "StructureDefinition.id", "path": "StructureDefinition.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureDefinition.meta", "path": "StructureDefinition.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "StructureDefinition.implicitRules", "path": "StructureDefinition.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "StructureDefinition.language", "path": "StructureDefinition.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "StructureDefinition.text", "path": "StructureDefinition.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "StructureDefinition.contained", "path": "StructureDefinition.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "StructureDefinition.extension", "path": "StructureDefinition.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureDefinition.modifierExtension", "path": "StructureDefinition.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "StructureDefinition.url", "path": "StructureDefinition.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "StructureDefinition.identifier", "path": "StructureDefinition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "StructureDefinition.version", "path": "StructureDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureDefinition.name", "path": "StructureDefinition.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureDefinition.title", "path": "StructureDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureDefinition.status", "path": "StructureDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "StructureDefinition.experimental", "path": "StructureDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "StructureDefinition.publisher", "path": "StructureDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureDefinition.contact", "path": "StructureDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "StructureDefinition.date", "path": "StructureDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "StructureDefinition.description", "path": "StructureDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureDefinition.useContext", "path": "StructureDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "StructureDefinition.jurisdiction", "path": "StructureDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "StructureDefinition.purpose", "path": "StructureDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureDefinition.copyright", "path": "StructureDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureDefinition.keyword", "path": "StructureDefinition.keyword", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/profile-code" } } }, { "id": "StructureDefinition.fhirVersion", "path": "StructureDefinition.fhirVersion", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureDefinition.mapping", "path": "StructureDefinition.mapping", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "sdf-2", "severity": "error", "human": "Must have at least a name or a uri (or both)", "expression": "name.exists() or uri.exists()", "xpath": "exists(f:uri) or exists(f:name)" } ] }, { "id": "StructureDefinition.mapping.id", "path": "StructureDefinition.mapping.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureDefinition.mapping.extension", "path": "StructureDefinition.mapping.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureDefinition.mapping.modifierExtension", "path": "StructureDefinition.mapping.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureDefinition.mapping.identity", "path": "StructureDefinition.mapping.identity", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "StructureDefinition.mapping.uri", "path": "StructureDefinition.mapping.uri", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "condition": [ "sdf-2" ] }, { "id": "StructureDefinition.mapping.name", "path": "StructureDefinition.mapping.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "sdf-2" ] }, { "id": "StructureDefinition.mapping.comments", "path": "StructureDefinition.mapping.comments", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "StructureDefinition.kind", "path": "StructureDefinition.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Defines the type of structure that a definition is describing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/structure-definition-kind" } } }, { "id": "StructureDefinition.abstract", "path": "StructureDefinition.abstract", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "StructureDefinition.contextType", "path": "StructureDefinition.contextType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "sdf-5" ], "isSummary": true, "binding": { "strength": "required", "description": "How an extension context is interpreted.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/extension-context" } } }, { "id": "StructureDefinition.context", "path": "StructureDefinition.context", "min": 0, "max": "*", "type": [ { "code": "string" } ], "condition": [ "sdf-5" ], "isSummary": true }, { "id": "StructureDefinition.contextInvariant", "path": "StructureDefinition.contextInvariant", "min": 0, "max": "*", "type": [ { "code": "string" } ], "condition": [ "sdf-18" ], "isSummary": true }, { "id": "StructureDefinition.type", "path": "StructureDefinition.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "condition": [ "sdf-4", "sdf-11" ], "isSummary": true, "binding": { "strength": "extensible", "description": "Either a resource or a data type, including logical model types", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/defined-types" } } }, { "id": "StructureDefinition.baseDefinition", "path": "StructureDefinition.baseDefinition", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "condition": [ "sdf-4" ], "isSummary": true }, { "id": "StructureDefinition.derivation", "path": "StructureDefinition.derivation", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "sdf-12" ], "isSummary": true, "binding": { "strength": "required", "description": "How a type relates to it's baseDefinition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/type-derivation-rule" } } }, { "id": "StructureDefinition.snapshot", "path": "StructureDefinition.snapshot", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "sdf-6" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "sdf-15", "requirements": "No Type on the root element (snapshot)", "severity": "error", "human": "The first element in a snapshot has no type", "expression": "element.first().type.empty()", "xpath": "not(f:element[1]/f:type)" }, { "key": "sdf-8", "severity": "error", "human": "In any snapshot, all the elements must be in the specified type", "expression": "element.first().path = %resource.type and element.tail().all(path.startsWith(%resource.type&'.'))", "xpath": "f:element[1]/f:path/@value=parent::f:StructureDefinition/f:type/@value and count(f:element[position()!=1])=count(f:element[position()!=1][starts-with(f:path/@value, concat(ancestor::f:StructureDefinition/f:type/@value, '.'))])" }, { "key": "sdf-3", "severity": "error", "human": "Each element definition in a snapshot must have a formal definition and cardinalities", "expression": "element.all(definition and min and max)", "xpath": "count(f:element) = count(f:element[exists(f:definition) and exists(f:min) and exists(f:max)])" } ] }, { "id": "StructureDefinition.snapshot.id", "path": "StructureDefinition.snapshot.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureDefinition.snapshot.extension", "path": "StructureDefinition.snapshot.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureDefinition.snapshot.modifierExtension", "path": "StructureDefinition.snapshot.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureDefinition.snapshot.element", "path": "StructureDefinition.snapshot.element", "min": 1, "max": "*", "type": [ { "code": "ElementDefinition" } ], "condition": [ "sdf-3" ] }, { "id": "StructureDefinition.differential", "path": "StructureDefinition.differential", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "sdf-6" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "sdf-15a", "requirements": "No Type on the root element (differential)", "severity": "error", "human": "If the first element in a differential has no \".\" in the path, it has no type", "expression": "element.first().path.contains('.').not() implies element.first().type.empty()", "xpath": "not(f:element[1][not(contains(f:path/@value, '.'))]/f:type)" }, { "key": "sdf-20", "requirements": "no slicing on root", "severity": "error", "human": "No slicing on the root element", "expression": "element.first().slicing.empty()", "xpath": "not(f:element[1]/f:slicing)" }, { "key": "sdf-8a", "severity": "error", "human": "In any differential, all the elements must be in the specified type", "expression": "element.first().path.startsWith(%resource.type) and element.tail().all(path.startsWith(%resource.type&'.'))", "xpath": "count(f:element)=count(f:element[f:path/@value=ancestor::f:StructureDefinition/f:type/@value or starts-with(f:path/@value, concat(ancestor::f:StructureDefinition/f:type/@value, '.'))])" } ] }, { "id": "StructureDefinition.differential.id", "path": "StructureDefinition.differential.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureDefinition.differential.extension", "path": "StructureDefinition.differential.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureDefinition.differential.modifierExtension", "path": "StructureDefinition.differential.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureDefinition.differential.element", "path": "StructureDefinition.differential.element", "min": 1, "max": "*", "type": [ { "code": "ElementDefinition" } ] } ] }, "differential": { "element": [ { "id": "StructureDefinition", "path": "StructureDefinition", "min": 0, "max": "*", "constraint": [ { "key": "sdf-9", "requirements": "Because these 3 fields seem to be have overlapping meaning with the ones in the root of StructureDefinition", "severity": "error", "human": "In any snapshot or differential, no label, code or requirements on the an element without a \".\" in the path (e.g. the first element)", "expression": "children().element.first().label.empty() and children().element.first().code.empty() and children().element.first().requirements.empty()", "xpath": "not(exists(f:snapshot/f:element[not(contains(f:path/@value, '.')) and (f:label or f:code or f:requirements)])) and not(exists(f:differential/f:element[not(contains(f:path/@value, '.')) and (f:label or f:code or f:requirements)]))" }, { "key": "sdf-19", "requirements": "custom types only in logical models", "severity": "error", "human": "Custom types can only be used in logical models", "expression": "kind = 'logical' or (differential.element.type.code.all(hasValue() implies matches('^[a-zA-Z0-9]+$')) and snapshot.element.type.code.all(hasValue() implies matches('^[a-zA-Z0-9]+$')))", "xpath": "(f:kind/@value = 'logical') or (true)" }, { "key": "sdf-16", "requirements": "element ids need to be unique", "severity": "error", "human": "All element definitions must have unique ids (snapshot)", "expression": "snapshot.element.id.trace('ids').isDistinct()", "xpath": "count(*/f:element)=count(*/f:element/@id)" }, { "key": "sdf-18", "requirements": "contextInvariant", "severity": "error", "human": "Context Invariants can only be used for extensions", "expression": "contextInvariant.exists() implies type = 'Extension'", "xpath": "not(exists(f:contextInvariant)) or (f:type/@value = 'Extension')" }, { "key": "sdf-17", "requirements": "element ids need to be unique", "severity": "error", "human": "All element definitions must have unique ids (diff)", "expression": "differential.element.id.trace('ids').isDistinct()", "xpath": "count(*/f:element)=count(*/f:element/@id)" }, { "key": "sdf-12", "requirements": "Ensure that element.base appears with base or not", "severity": "error", "human": "element.base cannot appear if there is no base on the structure definition", "expression": "snapshot.exists() implies (snapshot.element.base.exists() = baseDefinition.exists())", "xpath": "f:baseDefinition or not(exists(f:snapshot/f:element/f:base) or exists(f:differential/f:element/f:base))" }, { "key": "sdf-11", "requirements": "Ensure that the type is not inconsistent with the other information in the structure", "severity": "error", "human": "If there's a type, its content must match the path name in the first element of a snapshot", "expression": "snapshot.empty() or snapshot.element.first().path = type", "xpath": "not(exists(f:snapshot)) or (f:type/@value = f:snapshot/f:element[1]/f:path/@value)" }, { "key": "sdf-14", "requirements": "elements have id", "severity": "error", "human": "All element definitions must have an id", "expression": "snapshot.element.all(id.exists()) and differential.element.all(id.exists())", "xpath": "count(*/f:element)=count(*/f:element/@id)" }, { "key": "sdf-1", "severity": "error", "human": "Element paths must be unique unless the structure is a constraint", "expression": "derivation = 'constraint' or snapshot.element.select(path).isDistinct()", "xpath": "(f:derivation/@value = 'constraint') or (count(f:snapshot/f:element) = count(distinct-values(f:snapshot/f:element/f:path/@value)))" }, { "key": "sdf-7", "severity": "error", "human": "If the structure describes a base Resource or Type, the URL has to start with \"http://hl7.org/fhir/StructureDefinition/\" and the tail must match the id", "expression": "(derivation = 'constraint') or (kind = 'logical') or (url = 'http://hl7.org/fhir/StructureDefinition/'+id)", "xpath": "(f:derivation/@value = 'constraint') or (f:derivation/@value = 'logical') or (f:url/@value=concat('http://hl7.org/fhir/StructureDefinition/', f:id/@value))" }, { "key": "sdf-6", "severity": "error", "human": "A structure must have either a differential, or a snapshot (or both)", "expression": "snapshot.exists() or differential.exists()", "xpath": "exists(f:snapshot) or exists(f:differential)" }, { "key": "sdf-5", "severity": "error", "human": "If the structure defines an extension then the structure must have context information", "expression": "type != 'Extension' or derivation = 'specialization' or (context.exists() and contextType.exists())", "xpath": "not(f:type/@value = 'extension') or (f:derivation/@value = 'specialization') or (exists(f:context) and exists(f:contextType))" }, { "key": "sdf-4", "requirements": "Ensure that the base types are abstract", "severity": "error", "human": "If the structure is not abstract, then there SHALL be a baseDefinition", "expression": "abstract = true or baseDefinition.exists()", "xpath": "(f:abstract/@value=true()) or exists(f:baseDefinition)" } ] }, { "id": "StructureDefinition.url", "path": "StructureDefinition.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "StructureDefinition.identifier", "path": "StructureDefinition.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "StructureDefinition.version", "path": "StructureDefinition.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureDefinition.name", "path": "StructureDefinition.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureDefinition.title", "path": "StructureDefinition.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureDefinition.status", "path": "StructureDefinition.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "StructureDefinition.experimental", "path": "StructureDefinition.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "StructureDefinition.publisher", "path": "StructureDefinition.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureDefinition.contact", "path": "StructureDefinition.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "StructureDefinition.date", "path": "StructureDefinition.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "StructureDefinition.description", "path": "StructureDefinition.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureDefinition.useContext", "path": "StructureDefinition.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "StructureDefinition.jurisdiction", "path": "StructureDefinition.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "StructureDefinition.purpose", "path": "StructureDefinition.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureDefinition.copyright", "path": "StructureDefinition.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureDefinition.keyword", "path": "StructureDefinition.keyword", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/profile-code" } } }, { "id": "StructureDefinition.fhirVersion", "path": "StructureDefinition.fhirVersion", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureDefinition.mapping", "path": "StructureDefinition.mapping", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "sdf-2", "severity": "error", "human": "Must have at least a name or a uri (or both)", "expression": "name.exists() or uri.exists()", "xpath": "exists(f:uri) or exists(f:name)" } ] }, { "id": "StructureDefinition.mapping.identity", "path": "StructureDefinition.mapping.identity", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "StructureDefinition.mapping.uri", "path": "StructureDefinition.mapping.uri", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "condition": [ "sdf-2" ] }, { "id": "StructureDefinition.mapping.name", "path": "StructureDefinition.mapping.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "condition": [ "sdf-2" ] }, { "id": "StructureDefinition.mapping.comments", "path": "StructureDefinition.mapping.comments", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "StructureDefinition.kind", "path": "StructureDefinition.kind", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Defines the type of structure that a definition is describing.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/structure-definition-kind" } } }, { "id": "StructureDefinition.abstract", "path": "StructureDefinition.abstract", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "StructureDefinition.contextType", "path": "StructureDefinition.contextType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "sdf-5" ], "isSummary": true, "binding": { "strength": "required", "description": "How an extension context is interpreted.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/extension-context" } } }, { "id": "StructureDefinition.context", "path": "StructureDefinition.context", "min": 0, "max": "*", "type": [ { "code": "string" } ], "condition": [ "sdf-5" ], "isSummary": true }, { "id": "StructureDefinition.contextInvariant", "path": "StructureDefinition.contextInvariant", "min": 0, "max": "*", "type": [ { "code": "string" } ], "condition": [ "sdf-18" ], "isSummary": true }, { "id": "StructureDefinition.type", "path": "StructureDefinition.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "condition": [ "sdf-4", "sdf-11" ], "isSummary": true, "binding": { "strength": "extensible", "description": "Either a resource or a data type, including logical model types", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/defined-types" } } }, { "id": "StructureDefinition.baseDefinition", "path": "StructureDefinition.baseDefinition", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "condition": [ "sdf-4" ], "isSummary": true }, { "id": "StructureDefinition.derivation", "path": "StructureDefinition.derivation", "min": 0, "max": "1", "type": [ { "code": "code" } ], "condition": [ "sdf-12" ], "isSummary": true, "binding": { "strength": "required", "description": "How a type relates to it's baseDefinition.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/type-derivation-rule" } } }, { "id": "StructureDefinition.snapshot", "path": "StructureDefinition.snapshot", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "sdf-6" ], "constraint": [ { "key": "sdf-15", "requirements": "No Type on the root element (snapshot)", "severity": "error", "human": "The first element in a snapshot has no type", "expression": "element.first().type.empty()", "xpath": "not(f:element[1]/f:type)" }, { "key": "sdf-8", "severity": "error", "human": "In any snapshot, all the elements must be in the specified type", "expression": "element.first().path = %resource.type and element.tail().all(path.startsWith(%resource.type&'.'))", "xpath": "f:element[1]/f:path/@value=parent::f:StructureDefinition/f:type/@value and count(f:element[position()!=1])=count(f:element[position()!=1][starts-with(f:path/@value, concat(ancestor::f:StructureDefinition/f:type/@value, '.'))])" }, { "key": "sdf-3", "severity": "error", "human": "Each element definition in a snapshot must have a formal definition and cardinalities", "expression": "element.all(definition and min and max)", "xpath": "count(f:element) = count(f:element[exists(f:definition) and exists(f:min) and exists(f:max)])" } ] }, { "id": "StructureDefinition.snapshot.element", "path": "StructureDefinition.snapshot.element", "min": 1, "max": "*", "type": [ { "code": "ElementDefinition" } ], "condition": [ "sdf-3" ] }, { "id": "StructureDefinition.differential", "path": "StructureDefinition.differential", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "condition": [ "sdf-6" ], "constraint": [ { "key": "sdf-15a", "requirements": "No Type on the root element (differential)", "severity": "error", "human": "If the first element in a differential has no \".\" in the path, it has no type", "expression": "element.first().path.contains('.').not() implies element.first().type.empty()", "xpath": "not(f:element[1][not(contains(f:path/@value, '.'))]/f:type)" }, { "key": "sdf-20", "requirements": "no slicing on root", "severity": "error", "human": "No slicing on the root element", "expression": "element.first().slicing.empty()", "xpath": "not(f:element[1]/f:slicing)" }, { "key": "sdf-8a", "severity": "error", "human": "In any differential, all the elements must be in the specified type", "expression": "element.first().path.startsWith(%resource.type) and element.tail().all(path.startsWith(%resource.type&'.'))", "xpath": "count(f:element)=count(f:element[f:path/@value=ancestor::f:StructureDefinition/f:type/@value or starts-with(f:path/@value, concat(ancestor::f:StructureDefinition/f:type/@value, '.'))])" } ] }, { "id": "StructureDefinition.differential.element", "path": "StructureDefinition.differential.element", "min": 1, "max": "*", "type": [ { "code": "ElementDefinition" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/StructureMap", "resource": { "resourceType": "StructureDefinition", "id": "StructureMap", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Content" } ], "url": "http://hl7.org/fhir/StructureDefinition/StructureMap", "name": "StructureMap", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "StructureMap", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "StructureMap", "path": "StructureMap", "min": 1, "max": "1", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "StructureMap.id", "path": "StructureMap.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.meta", "path": "StructureMap.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "StructureMap.implicitRules", "path": "StructureMap.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.language", "path": "StructureMap.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "StructureMap.text", "path": "StructureMap.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "StructureMap.contained", "path": "StructureMap.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "StructureMap.extension", "path": "StructureMap.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.modifierExtension", "path": "StructureMap.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "StructureMap.url", "path": "StructureMap.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "StructureMap.identifier", "path": "StructureMap.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "StructureMap.version", "path": "StructureMap.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.name", "path": "StructureMap.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.title", "path": "StructureMap.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.status", "path": "StructureMap.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "StructureMap.experimental", "path": "StructureMap.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.publisher", "path": "StructureMap.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.contact", "path": "StructureMap.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "StructureMap.date", "path": "StructureMap.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "StructureMap.description", "path": "StructureMap.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureMap.useContext", "path": "StructureMap.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "StructureMap.jurisdiction", "path": "StructureMap.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "StructureMap.purpose", "path": "StructureMap.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureMap.copyright", "path": "StructureMap.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureMap.structure", "path": "StructureMap.structure", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "StructureMap.structure.id", "path": "StructureMap.structure.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureMap.structure.extension", "path": "StructureMap.structure.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.structure.modifierExtension", "path": "StructureMap.structure.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.structure.url", "path": "StructureMap.structure.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "StructureMap.structure.mode", "path": "StructureMap.structure.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How the referenced structure is used in this mapping", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-model-mode" } } }, { "id": "StructureMap.structure.documentation", "path": "StructureMap.structure.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "StructureMap.import", "path": "StructureMap.import", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "StructureMap.group", "path": "StructureMap.group", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "StructureMap.group.id", "path": "StructureMap.group.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.extension", "path": "StructureMap.group.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.group.modifierExtension", "path": "StructureMap.group.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.group.name", "path": "StructureMap.group.name", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.extends", "path": "StructureMap.group.extends", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.documentation", "path": "StructureMap.group.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.input", "path": "StructureMap.group.input", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "StructureMap.group.input.id", "path": "StructureMap.group.input.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.input.extension", "path": "StructureMap.group.input.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.group.input.modifierExtension", "path": "StructureMap.group.input.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.group.input.name", "path": "StructureMap.group.input.name", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.input.type", "path": "StructureMap.group.input.type", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.input.mode", "path": "StructureMap.group.input.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Mode for this instance of data", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-input-mode" } } }, { "id": "StructureMap.group.input.documentation", "path": "StructureMap.group.input.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.rule", "path": "StructureMap.group.rule", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "StructureMap.group.rule.id", "path": "StructureMap.group.rule.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.rule.extension", "path": "StructureMap.group.rule.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.group.rule.modifierExtension", "path": "StructureMap.group.rule.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.group.rule.name", "path": "StructureMap.group.rule.name", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source", "path": "StructureMap.group.rule.source", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.id", "path": "StructureMap.group.rule.source.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.rule.source.extension", "path": "StructureMap.group.rule.source.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.group.rule.source.modifierExtension", "path": "StructureMap.group.rule.source.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.group.rule.source.required", "path": "StructureMap.group.rule.source.required", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.context", "path": "StructureMap.group.rule.source.context", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.contextType", "path": "StructureMap.group.rule.source.contextType", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How to interpret the context", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-context-type" } } }, { "id": "StructureMap.group.rule.source.min", "path": "StructureMap.group.rule.source.min", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.max", "path": "StructureMap.group.rule.source.max", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.type", "path": "StructureMap.group.rule.source.type", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.element", "path": "StructureMap.group.rule.source.element", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.listMode", "path": "StructureMap.group.rule.source.listMode", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "If field is a list, how to manage the list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-list-mode" } } }, { "id": "StructureMap.group.rule.source.variable", "path": "StructureMap.group.rule.source.variable", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.condition", "path": "StructureMap.group.rule.source.condition", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.check", "path": "StructureMap.group.rule.source.check", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target", "path": "StructureMap.group.rule.target", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "smp-2", "severity": "error", "human": "Must have a contextType if you have a context", "expression": "context.exists() implies contextType.exists()", "xpath": "not(f:/context)) or (f:/contextType)" }, { "key": "smp-1", "severity": "error", "human": "Can only have a element if you have a context", "expression": "element.exists() implies context.exists()", "xpath": "not(f:/element)) or (f:/context)" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.id", "path": "StructureMap.group.rule.target.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.rule.target.extension", "path": "StructureMap.group.rule.target.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.group.rule.target.modifierExtension", "path": "StructureMap.group.rule.target.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.group.rule.target.context", "path": "StructureMap.group.rule.target.context", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.contextType", "path": "StructureMap.group.rule.target.contextType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How to interpret the context", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-context-type" } } }, { "id": "StructureMap.group.rule.target.element", "path": "StructureMap.group.rule.target.element", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.variable", "path": "StructureMap.group.rule.target.variable", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.listMode", "path": "StructureMap.group.rule.target.listMode", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "If field is a list, how to manage the list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-list-mode" } } }, { "id": "StructureMap.group.rule.target.listRuleId", "path": "StructureMap.group.rule.target.listRuleId", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.transform", "path": "StructureMap.group.rule.target.transform", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How data is copied / created", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-transform" } } }, { "id": "StructureMap.group.rule.target.parameter", "path": "StructureMap.group.rule.target.parameter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.parameter.id", "path": "StructureMap.group.rule.target.parameter.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.rule.target.parameter.extension", "path": "StructureMap.group.rule.target.parameter.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.group.rule.target.parameter.modifierExtension", "path": "StructureMap.group.rule.target.parameter.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.group.rule.target.parameter.value[x]", "path": "StructureMap.group.rule.target.parameter.value[x]", "min": 1, "max": "1", "type": [ { "code": "id" }, { "code": "string" }, { "code": "boolean" }, { "code": "integer" }, { "code": "decimal" } ], "isSummary": true }, { "id": "StructureMap.group.rule.rule", "path": "StructureMap.group.rule.rule", "min": 0, "max": "*", "contentReference": "#StructureMap.group.rule", "isSummary": true }, { "id": "StructureMap.group.rule.dependent", "path": "StructureMap.group.rule.dependent", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "StructureMap.group.rule.dependent.id", "path": "StructureMap.group.rule.dependent.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.rule.dependent.extension", "path": "StructureMap.group.rule.dependent.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "StructureMap.group.rule.dependent.modifierExtension", "path": "StructureMap.group.rule.dependent.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.group.rule.dependent.name", "path": "StructureMap.group.rule.dependent.name", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.dependent.variable", "path": "StructureMap.group.rule.dependent.variable", "min": 1, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.documentation", "path": "StructureMap.group.rule.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "StructureMap", "path": "StructureMap", "min": 1, "max": "1" }, { "id": "StructureMap.url", "path": "StructureMap.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "StructureMap.identifier", "path": "StructureMap.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "StructureMap.version", "path": "StructureMap.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.name", "path": "StructureMap.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.title", "path": "StructureMap.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.status", "path": "StructureMap.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "StructureMap.experimental", "path": "StructureMap.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "StructureMap.publisher", "path": "StructureMap.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.contact", "path": "StructureMap.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "StructureMap.date", "path": "StructureMap.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "StructureMap.description", "path": "StructureMap.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureMap.useContext", "path": "StructureMap.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "StructureMap.jurisdiction", "path": "StructureMap.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "StructureMap.purpose", "path": "StructureMap.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureMap.copyright", "path": "StructureMap.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "StructureMap.structure", "path": "StructureMap.structure", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "StructureMap.structure.url", "path": "StructureMap.structure.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "StructureMap.structure.mode", "path": "StructureMap.structure.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How the referenced structure is used in this mapping", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-model-mode" } } }, { "id": "StructureMap.structure.documentation", "path": "StructureMap.structure.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "StructureMap.import", "path": "StructureMap.import", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "StructureMap.group", "path": "StructureMap.group", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "StructureMap.group.name", "path": "StructureMap.group.name", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.extends", "path": "StructureMap.group.extends", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.documentation", "path": "StructureMap.group.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.input", "path": "StructureMap.group.input", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "StructureMap.group.input.name", "path": "StructureMap.group.input.name", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.input.type", "path": "StructureMap.group.input.type", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.input.mode", "path": "StructureMap.group.input.mode", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Mode for this instance of data", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-input-mode" } } }, { "id": "StructureMap.group.input.documentation", "path": "StructureMap.group.input.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "StructureMap.group.rule", "path": "StructureMap.group.rule", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "StructureMap.group.rule.name", "path": "StructureMap.group.rule.name", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source", "path": "StructureMap.group.rule.source", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.required", "path": "StructureMap.group.rule.source.required", "min": 1, "max": "1", "type": [ { "code": "boolean" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.context", "path": "StructureMap.group.rule.source.context", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.contextType", "path": "StructureMap.group.rule.source.contextType", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How to interpret the context", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-context-type" } } }, { "id": "StructureMap.group.rule.source.min", "path": "StructureMap.group.rule.source.min", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.max", "path": "StructureMap.group.rule.source.max", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.type", "path": "StructureMap.group.rule.source.type", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.element", "path": "StructureMap.group.rule.source.element", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.listMode", "path": "StructureMap.group.rule.source.listMode", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "If field is a list, how to manage the list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-list-mode" } } }, { "id": "StructureMap.group.rule.source.variable", "path": "StructureMap.group.rule.source.variable", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.condition", "path": "StructureMap.group.rule.source.condition", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.source.check", "path": "StructureMap.group.rule.source.check", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target", "path": "StructureMap.group.rule.target", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "smp-2", "severity": "error", "human": "Must have a contextType if you have a context", "expression": "context.exists() implies contextType.exists()", "xpath": "not(f:/context)) or (f:/contextType)" }, { "key": "smp-1", "severity": "error", "human": "Can only have a element if you have a context", "expression": "element.exists() implies context.exists()", "xpath": "not(f:/element)) or (f:/context)" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.context", "path": "StructureMap.group.rule.target.context", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.contextType", "path": "StructureMap.group.rule.target.contextType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How to interpret the context", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-context-type" } } }, { "id": "StructureMap.group.rule.target.element", "path": "StructureMap.group.rule.target.element", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.variable", "path": "StructureMap.group.rule.target.variable", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.listMode", "path": "StructureMap.group.rule.target.listMode", "min": 0, "max": "*", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "If field is a list, how to manage the list", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-list-mode" } } }, { "id": "StructureMap.group.rule.target.listRuleId", "path": "StructureMap.group.rule.target.listRuleId", "min": 0, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.transform", "path": "StructureMap.group.rule.target.transform", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "How data is copied / created", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/map-transform" } } }, { "id": "StructureMap.group.rule.target.parameter", "path": "StructureMap.group.rule.target.parameter", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "StructureMap.group.rule.target.parameter.value[x]", "path": "StructureMap.group.rule.target.parameter.value[x]", "min": 1, "max": "1", "type": [ { "code": "id" }, { "code": "string" }, { "code": "boolean" }, { "code": "integer" }, { "code": "decimal" } ], "isSummary": true }, { "id": "StructureMap.group.rule.rule", "path": "StructureMap.group.rule.rule", "min": 0, "max": "*", "contentReference": "#StructureMap.group.rule", "isSummary": true }, { "id": "StructureMap.group.rule.dependent", "path": "StructureMap.group.rule.dependent", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "StructureMap.group.rule.dependent.name", "path": "StructureMap.group.rule.dependent.name", "min": 1, "max": "1", "type": [ { "code": "id" } ], "isSummary": true }, { "id": "StructureMap.group.rule.dependent.variable", "path": "StructureMap.group.rule.dependent.variable", "min": 1, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "StructureMap.group.rule.documentation", "path": "StructureMap.group.rule.documentation", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Subscription", "resource": { "resourceType": "StructureDefinition", "id": "Subscription", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Scheduling" } ], "url": "http://hl7.org/fhir/StructureDefinition/Subscription", "name": "Subscription", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Subscription", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Subscription", "path": "Subscription", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Subscription.id", "path": "Subscription.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Subscription.meta", "path": "Subscription.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Subscription.implicitRules", "path": "Subscription.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Subscription.language", "path": "Subscription.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Subscription.text", "path": "Subscription.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Subscription.contained", "path": "Subscription.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Subscription.extension", "path": "Subscription.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Subscription.modifierExtension", "path": "Subscription.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Subscription.criteria", "path": "Subscription.criteria", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.contact", "path": "Subscription.contact", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Subscription.reason", "path": "Subscription.reason", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.status", "path": "Subscription.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of a subscription.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/subscription-status" } } }, { "id": "Subscription.error", "path": "Subscription.error", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.channel", "path": "Subscription.channel", "min": 1, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Subscription.channel.id", "path": "Subscription.channel.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Subscription.channel.extension", "path": "Subscription.channel.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Subscription.channel.modifierExtension", "path": "Subscription.channel.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Subscription.channel.type", "path": "Subscription.channel.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of method used to execute a subscription.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/subscription-channel-type" } } }, { "id": "Subscription.channel.endpoint", "path": "Subscription.channel.endpoint", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Subscription.channel.payload", "path": "Subscription.channel.payload", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.channel.header", "path": "Subscription.channel.header", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.end", "path": "Subscription.end", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Subscription.tag", "path": "Subscription.tag", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Tags to put on a resource after subscriptions have been sent.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/subscription-tag" } } } ] }, "differential": { "element": [ { "id": "Subscription", "path": "Subscription", "min": 0, "max": "*" }, { "id": "Subscription.criteria", "path": "Subscription.criteria", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.contact", "path": "Subscription.contact", "min": 0, "max": "*", "type": [ { "code": "ContactPoint" } ], "isSummary": true }, { "id": "Subscription.reason", "path": "Subscription.reason", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.status", "path": "Subscription.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of a subscription.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/subscription-status" } } }, { "id": "Subscription.error", "path": "Subscription.error", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.channel", "path": "Subscription.channel", "min": 1, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Subscription.channel.type", "path": "Subscription.channel.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of method used to execute a subscription.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/subscription-channel-type" } } }, { "id": "Subscription.channel.endpoint", "path": "Subscription.channel.endpoint", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "Subscription.channel.payload", "path": "Subscription.channel.payload", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.channel.header", "path": "Subscription.channel.header", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Subscription.end", "path": "Subscription.end", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true }, { "id": "Subscription.tag", "path": "Subscription.tag", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "example", "description": "Tags to put on a resource after subscriptions have been sent.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/subscription-tag" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Substance", "resource": { "resourceType": "StructureDefinition", "id": "Substance", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Identification/Entities" } ], "url": "http://hl7.org/fhir/StructureDefinition/Substance", "name": "Substance", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Substance", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Substance", "path": "Substance", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "Substance.id", "path": "Substance.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Substance.meta", "path": "Substance.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Substance.implicitRules", "path": "Substance.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Substance.language", "path": "Substance.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Substance.text", "path": "Substance.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Substance.contained", "path": "Substance.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Substance.extension", "path": "Substance.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Substance.modifierExtension", "path": "Substance.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Substance.identifier", "path": "Substance.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Substance.category", "path": "Substance.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Category or classification of substance", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-category" } } }, { "id": "Substance.code", "path": "Substance.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Substance codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-code" } } }, { "id": "Substance.description", "path": "Substance.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Substance.instance", "path": "Substance.instance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "meaningWhenMissing": "If this element is not present, then the substance resource describes a kind of substance", "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Substance.instance.id", "path": "Substance.instance.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Substance.instance.extension", "path": "Substance.instance.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Substance.instance.modifierExtension", "path": "Substance.instance.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Substance.instance.identifier", "path": "Substance.instance.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Substance.instance.expiry", "path": "Substance.instance.expiry", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Substance.instance.quantity", "path": "Substance.instance.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ], "isSummary": true }, { "id": "Substance.ingredient", "path": "Substance.ingredient", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Substance.ingredient.id", "path": "Substance.ingredient.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Substance.ingredient.extension", "path": "Substance.ingredient.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Substance.ingredient.modifierExtension", "path": "Substance.ingredient.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Substance.ingredient.quantity", "path": "Substance.ingredient.quantity", "min": 0, "max": "1", "type": [ { "code": "Ratio" } ], "isSummary": true }, { "id": "Substance.ingredient.substance[x]", "path": "Substance.ingredient.substance[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ], "isSummary": true, "binding": { "strength": "example", "description": "Substance Ingredient codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-code" } } } ] }, "differential": { "element": [ { "id": "Substance", "path": "Substance", "min": 0, "max": "*" }, { "id": "Substance.identifier", "path": "Substance.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Substance.category", "path": "Substance.category", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Category or classification of substance", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-category" } } }, { "id": "Substance.code", "path": "Substance.code", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Substance codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-code" } } }, { "id": "Substance.description", "path": "Substance.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Substance.instance", "path": "Substance.instance", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "meaningWhenMissing": "If this element is not present, then the substance resource describes a kind of substance", "isSummary": true }, { "id": "Substance.instance.identifier", "path": "Substance.instance.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Substance.instance.expiry", "path": "Substance.instance.expiry", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "Substance.instance.quantity", "path": "Substance.instance.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ], "isSummary": true }, { "id": "Substance.ingredient", "path": "Substance.ingredient", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Substance.ingredient.quantity", "path": "Substance.ingredient.quantity", "min": 0, "max": "1", "type": [ { "code": "Ratio" } ], "isSummary": true }, { "id": "Substance.ingredient.substance[x]", "path": "Substance.ingredient.substance[x]", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" } ], "isSummary": true, "binding": { "strength": "example", "description": "Substance Ingredient codes", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-code" } } } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/SupplyDelivery", "resource": { "resourceType": "StructureDefinition", "id": "SupplyDelivery", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Events 1" } ], "url": "http://hl7.org/fhir/StructureDefinition/SupplyDelivery", "name": "SupplyDelivery", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "SupplyDelivery", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "SupplyDelivery", "path": "SupplyDelivery", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "SupplyDelivery.id", "path": "SupplyDelivery.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "SupplyDelivery.meta", "path": "SupplyDelivery.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "SupplyDelivery.implicitRules", "path": "SupplyDelivery.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "SupplyDelivery.language", "path": "SupplyDelivery.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "SupplyDelivery.text", "path": "SupplyDelivery.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "SupplyDelivery.contained", "path": "SupplyDelivery.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "SupplyDelivery.extension", "path": "SupplyDelivery.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "SupplyDelivery.modifierExtension", "path": "SupplyDelivery.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "SupplyDelivery.identifier", "path": "SupplyDelivery.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "SupplyDelivery.status", "path": "SupplyDelivery.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Status of the supply delivery.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplydelivery-status" } } }, { "id": "SupplyDelivery.patient", "path": "SupplyDelivery.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "SupplyDelivery.type", "path": "SupplyDelivery.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of supply dispense.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplydelivery-type" } } }, { "id": "SupplyDelivery.quantity", "path": "SupplyDelivery.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ], "isSummary": true }, { "id": "SupplyDelivery.suppliedItem[x]", "path": "SupplyDelivery.suppliedItem[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true, "binding": { "strength": "example", "description": "The item that was delivered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supply-item" } } }, { "id": "SupplyDelivery.supplier", "path": "SupplyDelivery.supplier", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "SupplyDelivery.whenPrepared", "path": "SupplyDelivery.whenPrepared", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "SupplyDelivery.time", "path": "SupplyDelivery.time", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "SupplyDelivery.destination", "path": "SupplyDelivery.destination", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "SupplyDelivery.receiver", "path": "SupplyDelivery.receiver", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "SupplyDelivery", "path": "SupplyDelivery", "min": 0, "max": "*" }, { "id": "SupplyDelivery.identifier", "path": "SupplyDelivery.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "SupplyDelivery.status", "path": "SupplyDelivery.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Status of the supply delivery.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplydelivery-status" } } }, { "id": "SupplyDelivery.patient", "path": "SupplyDelivery.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "SupplyDelivery.type", "path": "SupplyDelivery.type", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of supply dispense.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplydelivery-type" } } }, { "id": "SupplyDelivery.quantity", "path": "SupplyDelivery.quantity", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ], "isSummary": true }, { "id": "SupplyDelivery.suppliedItem[x]", "path": "SupplyDelivery.suppliedItem[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true, "binding": { "strength": "example", "description": "The item that was delivered.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supply-item" } } }, { "id": "SupplyDelivery.supplier", "path": "SupplyDelivery.supplier", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true }, { "id": "SupplyDelivery.whenPrepared", "path": "SupplyDelivery.whenPrepared", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "SupplyDelivery.time", "path": "SupplyDelivery.time", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "SupplyDelivery.destination", "path": "SupplyDelivery.destination", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true }, { "id": "SupplyDelivery.receiver", "path": "SupplyDelivery.receiver", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/SupplyRequest", "resource": { "resourceType": "StructureDefinition", "id": "SupplyRequest", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Events 1" } ], "url": "http://hl7.org/fhir/StructureDefinition/SupplyRequest", "name": "SupplyRequest", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "SupplyRequest", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "SupplyRequest", "path": "SupplyRequest", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "SupplyRequest.id", "path": "SupplyRequest.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "SupplyRequest.meta", "path": "SupplyRequest.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "SupplyRequest.implicitRules", "path": "SupplyRequest.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "SupplyRequest.language", "path": "SupplyRequest.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "SupplyRequest.text", "path": "SupplyRequest.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "SupplyRequest.contained", "path": "SupplyRequest.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "SupplyRequest.extension", "path": "SupplyRequest.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "SupplyRequest.modifierExtension", "path": "SupplyRequest.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "SupplyRequest.patient", "path": "SupplyRequest.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "SupplyRequest.source", "path": "SupplyRequest.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "SupplyRequest.date", "path": "SupplyRequest.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "SupplyRequest.identifier", "path": "SupplyRequest.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "SupplyRequest.status", "path": "SupplyRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Status of the supply request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-status" } } }, { "id": "SupplyRequest.kind", "path": "SupplyRequest.kind", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "Category of supply request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-kind" } } }, { "id": "SupplyRequest.orderedItem[x]", "path": "SupplyRequest.orderedItem[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true, "binding": { "strength": "example", "description": "The item that was requested", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supply-item" } } }, { "id": "SupplyRequest.supplier", "path": "SupplyRequest.supplier", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "SupplyRequest.reason[x]", "path": "SupplyRequest.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true, "binding": { "strength": "example", "description": "Why the supply item was requested", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-reason" } } }, { "id": "SupplyRequest.when", "path": "SupplyRequest.when", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "SupplyRequest.when.id", "path": "SupplyRequest.when.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "SupplyRequest.when.extension", "path": "SupplyRequest.when.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "SupplyRequest.when.modifierExtension", "path": "SupplyRequest.when.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "SupplyRequest.when.code", "path": "SupplyRequest.when.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "When the request should be fulfilled", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-when" } } }, { "id": "SupplyRequest.when.schedule", "path": "SupplyRequest.when.schedule", "min": 0, "max": "1", "type": [ { "code": "Timing" } ], "isSummary": true } ] }, "differential": { "element": [ { "id": "SupplyRequest", "path": "SupplyRequest", "min": 0, "max": "*" }, { "id": "SupplyRequest.patient", "path": "SupplyRequest.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "SupplyRequest.source", "path": "SupplyRequest.source", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true }, { "id": "SupplyRequest.date", "path": "SupplyRequest.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "SupplyRequest.identifier", "path": "SupplyRequest.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "SupplyRequest.status", "path": "SupplyRequest.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "Status of the supply request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-status" } } }, { "id": "SupplyRequest.kind", "path": "SupplyRequest.kind", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "Category of supply request", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-kind" } } }, { "id": "SupplyRequest.orderedItem[x]", "path": "SupplyRequest.orderedItem[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true, "binding": { "strength": "example", "description": "The item that was requested", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supply-item" } } }, { "id": "SupplyRequest.supplier", "path": "SupplyRequest.supplier", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true }, { "id": "SupplyRequest.reason[x]", "path": "SupplyRequest.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true, "binding": { "strength": "example", "description": "Why the supply item was requested", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-reason" } } }, { "id": "SupplyRequest.when", "path": "SupplyRequest.when", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "SupplyRequest.when.code", "path": "SupplyRequest.when.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "When the request should be fulfilled", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/supplyrequest-when" } } }, { "id": "SupplyRequest.when.schedule", "path": "SupplyRequest.when.schedule", "min": 0, "max": "1", "type": [ { "code": "Timing" } ], "isSummary": true } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/Task", "resource": { "resourceType": "StructureDefinition", "id": "Task", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Workflow/Scheduling" } ], "url": "http://hl7.org/fhir/StructureDefinition/Task", "name": "Task", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "Task", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Task", "path": "Task", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" }, { "key": "inv-1", "severity": "error", "human": "Last modified date must be greater than or equal to authored-on date.", "expression": "lastModified >= authoredOn or lastModified.exists().not() or authoredOn.exists().not()", "xpath": "f:lastModified >= f:authoredOn or not(exists(f:lastModified)) or not(exists(f:authoredOn))" } ] }, { "id": "Task.id", "path": "Task.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Task.meta", "path": "Task.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Task.implicitRules", "path": "Task.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Task.language", "path": "Task.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Task.text", "path": "Task.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "Task.contained", "path": "Task.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "Task.extension", "path": "Task.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Task.modifierExtension", "path": "Task.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "Task.identifier", "path": "Task.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Task.definition[x]", "path": "Task.definition[x]", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" } ], "isSummary": true }, { "id": "Task.basedOn", "path": "Task.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Task.groupIdentifier", "path": "Task.groupIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Task.partOf", "path": "Task.partOf", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Task" } ], "isSummary": true }, { "id": "Task.status", "path": "Task.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The current status of the task.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/task-status" } } }, { "id": "Task.statusReason", "path": "Task.statusReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "Task.businessStatus", "path": "Task.businessStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The domain-specific business-contextual sub-state of the task. For example: \"Blood drawn\", \"IV inserted\", \"Awaiting physician signature\", etc." } }, { "id": "Task.intent", "path": "Task.intent", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Distinguishes whether the task is a proposal, plan or full order", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-intent" } } }, { "id": "Task.priority", "path": "Task.priority", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "If missing, this task should be performed with normal priority", "binding": { "strength": "required", "description": "The task's priority", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-priority" } } }, { "id": "Task.code", "path": "Task.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "Task.description", "path": "Task.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Task.focus", "path": "Task.focus", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Task.for", "path": "Task.for", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Task.context", "path": "Task.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "Task.executionPeriod", "path": "Task.executionPeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Task.authoredOn", "path": "Task.authoredOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "condition": [ "inv-1" ] }, { "id": "Task.lastModified", "path": "Task.lastModified", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "condition": [ "inv-1" ], "isSummary": true }, { "id": "Task.requester", "path": "Task.requester", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isSummary": true }, { "id": "Task.requester.id", "path": "Task.requester.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Task.requester.extension", "path": "Task.requester.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Task.requester.modifierExtension", "path": "Task.requester.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Task.requester.agent", "path": "Task.requester.agent", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Task.requester.onBehalfOf", "path": "Task.requester.onBehalfOf", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Task.performerType", "path": "Task.performerType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "The type(s) of task performers allowed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/task-performer-type" } } }, { "id": "Task.owner", "path": "Task.owner", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Task.reason", "path": "Task.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Indicates why the task is needed. E.g. Suspended because patient admitted to hospital." } }, { "id": "Task.note", "path": "Task.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "Task.relevantHistory", "path": "Task.relevantHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] }, { "id": "Task.restriction", "path": "Task.restriction", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Task.restriction.id", "path": "Task.restriction.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Task.restriction.extension", "path": "Task.restriction.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Task.restriction.modifierExtension", "path": "Task.restriction.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Task.restriction.repetitions", "path": "Task.restriction.repetitions", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Task.restriction.period", "path": "Task.restriction.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Task.restriction.recipient", "path": "Task.restriction.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Task.input", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Parameter" } ], "path": "Task.input", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Task.input.id", "path": "Task.input.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Task.input.extension", "path": "Task.input.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Task.input.modifierExtension", "path": "Task.input.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Task.input.type", "path": "Task.input.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. \"Comparison source\", \"Applicable consent\", \"Concommitent Medications\", etc." } }, { "id": "Task.input.value[x]", "path": "Task.input.value[x]", "min": 1, "max": "1", "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "Meta" } ] }, { "id": "Task.output", "path": "Task.output", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "Task.output.id", "path": "Task.output.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "Task.output.extension", "path": "Task.output.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Task.output.modifierExtension", "path": "Task.output.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "Task.output.type", "path": "Task.output.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. \"Identified issues\", \"Preliminary results\", \"Filler order\", \"Final results\", etc." } }, { "id": "Task.output.value[x]", "path": "Task.output.value[x]", "min": 1, "max": "1", "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "Meta" } ] } ] }, "differential": { "element": [ { "id": "Task", "path": "Task", "min": 0, "max": "*", "constraint": [ { "key": "inv-1", "severity": "error", "human": "Last modified date must be greater than or equal to authored-on date.", "expression": "lastModified >= authoredOn or lastModified.exists().not() or authoredOn.exists().not()", "xpath": "f:lastModified >= f:authoredOn or not(exists(f:lastModified)) or not(exists(f:authoredOn))" } ] }, { "id": "Task.identifier", "path": "Task.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "Task.definition[x]", "path": "Task.definition[x]", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" } ], "isSummary": true }, { "id": "Task.basedOn", "path": "Task.basedOn", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Task.groupIdentifier", "path": "Task.groupIdentifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "Task.partOf", "path": "Task.partOf", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Task" } ], "isSummary": true }, { "id": "Task.status", "path": "Task.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The current status of the task.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/task-status" } } }, { "id": "Task.statusReason", "path": "Task.statusReason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "Task.businessStatus", "path": "Task.businessStatus", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "The domain-specific business-contextual sub-state of the task. For example: \"Blood drawn\", \"IV inserted\", \"Awaiting physician signature\", etc." } }, { "id": "Task.intent", "path": "Task.intent", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "Distinguishes whether the task is a proposal, plan or full order", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-intent" } } }, { "id": "Task.priority", "path": "Task.priority", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "If missing, this task should be performed with normal priority", "binding": { "strength": "required", "description": "The task's priority", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/request-priority" } } }, { "id": "Task.code", "path": "Task.code", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true }, { "id": "Task.description", "path": "Task.description", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "Task.focus", "path": "Task.focus", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Task.for", "path": "Task.for", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true }, { "id": "Task.context", "path": "Task.context", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true }, { "id": "Task.executionPeriod", "path": "Task.executionPeriod", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isSummary": true }, { "id": "Task.authoredOn", "path": "Task.authoredOn", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "condition": [ "inv-1" ] }, { "id": "Task.lastModified", "path": "Task.lastModified", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "condition": [ "inv-1" ], "isSummary": true }, { "id": "Task.requester", "path": "Task.requester", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "isSummary": true }, { "id": "Task.requester.agent", "path": "Task.requester.agent", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Task.requester.onBehalfOf", "path": "Task.requester.onBehalfOf", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Task.performerType", "path": "Task.performerType", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "description": "The type(s) of task performers allowed", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/task-performer-type" } } }, { "id": "Task.owner", "path": "Task.owner", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true }, { "id": "Task.reason", "path": "Task.reason", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Indicates why the task is needed. E.g. Suspended because patient admitted to hospital." } }, { "id": "Task.note", "path": "Task.note", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ] }, { "id": "Task.relevantHistory", "path": "Task.relevantHistory", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" } ] }, { "id": "Task.restriction", "path": "Task.restriction", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "Task.restriction.repetitions", "path": "Task.restriction.repetitions", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ] }, { "id": "Task.restriction.period", "path": "Task.restriction.period", "min": 0, "max": "1", "type": [ { "code": "Period" } ] }, { "id": "Task.restriction.recipient", "path": "Task.restriction.recipient", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ] }, { "id": "Task.input", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Parameter" } ], "path": "Task.input", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Task.input.type", "path": "Task.input.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. \"Comparison source\", \"Applicable consent\", \"Concommitent Medications\", etc." } }, { "id": "Task.input.value[x]", "path": "Task.input.value[x]", "min": 1, "max": "1", "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "Meta" } ] }, { "id": "Task.output", "path": "Task.output", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "Task.output.type", "path": "Task.output.type", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. \"Identified issues\", \"Preliminary results\", \"Filler order\", \"Final results\", etc." } }, { "id": "Task.output.value[x]", "path": "Task.output.value[x]", "min": 1, "max": "1", "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "Meta" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/TestReport", "resource": { "resourceType": "StructureDefinition", "id": "TestReport", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Misc" } ], "url": "http://hl7.org/fhir/StructureDefinition/TestReport", "name": "TestReport", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "TestReport", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "TestReport", "path": "TestReport", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "TestReport.id", "path": "TestReport.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "TestReport.meta", "path": "TestReport.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "TestReport.implicitRules", "path": "TestReport.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.language", "path": "TestReport.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "TestReport.text", "path": "TestReport.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "TestReport.contained", "path": "TestReport.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "TestReport.extension", "path": "TestReport.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.modifierExtension", "path": "TestReport.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "TestReport.identifier", "path": "TestReport.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "TestReport.name", "path": "TestReport.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestReport.status", "path": "TestReport.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The execution status of the TestReport.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-status-codes" } } }, { "id": "TestReport.score", "path": "TestReport.score", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "TestReport.tester", "path": "TestReport.tester", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestReport.testScript", "path": "TestReport.testScript", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/TestScript" } ], "isSummary": true }, { "id": "TestReport.issued", "path": "TestReport.issued", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "TestReport.participant", "path": "TestReport.participant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestReport.participant.id", "path": "TestReport.participant.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.participant.extension", "path": "TestReport.participant.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.participant.modifierExtension", "path": "TestReport.participant.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.participant.type", "path": "TestReport.participant.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of participant.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-participant-type" } } }, { "id": "TestReport.participant.uri", "path": "TestReport.participant.uri", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "TestReport.participant.display", "path": "TestReport.participant.display", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestReport.setup", "path": "TestReport.setup", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestReport.setup.id", "path": "TestReport.setup.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.setup.extension", "path": "TestReport.setup.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.setup.modifierExtension", "path": "TestReport.setup.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.setup.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SetupAction" } ], "path": "TestReport.setup.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-1", "severity": "error", "human": "Setup action SHALL contain either an operation or assert but not both.", "expression": "operation.exists() xor assert.exists()", "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)" } ] }, { "id": "TestReport.setup.action.id", "path": "TestReport.setup.action.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.setup.action.extension", "path": "TestReport.setup.action.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.setup.action.modifierExtension", "path": "TestReport.setup.action.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.setup.action.operation", "path": "TestReport.setup.action.operation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestReport.setup.action.operation.id", "path": "TestReport.setup.action.operation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.setup.action.operation.extension", "path": "TestReport.setup.action.operation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.setup.action.operation.modifierExtension", "path": "TestReport.setup.action.operation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.setup.action.operation.result", "path": "TestReport.setup.action.operation.result", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The results of executing an action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-result-codes" } } }, { "id": "TestReport.setup.action.operation.message", "path": "TestReport.setup.action.operation.message", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestReport.setup.action.operation.detail", "path": "TestReport.setup.action.operation.detail", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "TestReport.setup.action.assert", "path": "TestReport.setup.action.assert", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestReport.setup.action.assert.id", "path": "TestReport.setup.action.assert.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.setup.action.assert.extension", "path": "TestReport.setup.action.assert.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.setup.action.assert.modifierExtension", "path": "TestReport.setup.action.assert.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.setup.action.assert.result", "path": "TestReport.setup.action.assert.result", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The results of executing an action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-result-codes" } } }, { "id": "TestReport.setup.action.assert.message", "path": "TestReport.setup.action.assert.message", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestReport.setup.action.assert.detail", "path": "TestReport.setup.action.assert.detail", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestReport.test", "path": "TestReport.test", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestReport.test.id", "path": "TestReport.test.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.test.extension", "path": "TestReport.test.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.test.modifierExtension", "path": "TestReport.test.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.test.name", "path": "TestReport.test.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestReport.test.description", "path": "TestReport.test.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestReport.test.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TestAction" } ], "path": "TestReport.test.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-2", "severity": "error", "human": "Test action SHALL contain either an operation or assert but not both.", "expression": "operation.exists() xor assert.exists()", "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)" } ] }, { "id": "TestReport.test.action.id", "path": "TestReport.test.action.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.test.action.extension", "path": "TestReport.test.action.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.test.action.modifierExtension", "path": "TestReport.test.action.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.test.action.operation", "path": "TestReport.test.action.operation", "min": 0, "max": "1", "contentReference": "#TestReport.setup.action.operation" }, { "id": "TestReport.test.action.assert", "path": "TestReport.test.action.assert", "min": 0, "max": "1", "contentReference": "#TestReport.setup.action.assert" }, { "id": "TestReport.teardown", "path": "TestReport.teardown", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestReport.teardown.id", "path": "TestReport.teardown.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.teardown.extension", "path": "TestReport.teardown.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.teardown.modifierExtension", "path": "TestReport.teardown.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.teardown.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TeardownAction" } ], "path": "TestReport.teardown.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestReport.teardown.action.id", "path": "TestReport.teardown.action.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestReport.teardown.action.extension", "path": "TestReport.teardown.action.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestReport.teardown.action.modifierExtension", "path": "TestReport.teardown.action.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestReport.teardown.action.operation", "path": "TestReport.teardown.action.operation", "min": 1, "max": "1", "contentReference": "#TestReport.setup.action.operation" } ] }, "differential": { "element": [ { "id": "TestReport", "path": "TestReport", "min": 0, "max": "*" }, { "id": "TestReport.identifier", "path": "TestReport.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "TestReport.name", "path": "TestReport.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestReport.status", "path": "TestReport.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The execution status of the TestReport.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-status-codes" } } }, { "id": "TestReport.score", "path": "TestReport.score", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true }, { "id": "TestReport.tester", "path": "TestReport.tester", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestReport.testScript", "path": "TestReport.testScript", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/TestScript" } ], "isSummary": true }, { "id": "TestReport.issued", "path": "TestReport.issued", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "TestReport.participant", "path": "TestReport.participant", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestReport.participant.type", "path": "TestReport.participant.type", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of participant.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-participant-type" } } }, { "id": "TestReport.participant.uri", "path": "TestReport.participant.uri", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "TestReport.participant.display", "path": "TestReport.participant.display", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestReport.setup", "path": "TestReport.setup", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestReport.setup.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SetupAction" } ], "path": "TestReport.setup.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-1", "severity": "error", "human": "Setup action SHALL contain either an operation or assert but not both.", "expression": "operation.exists() xor assert.exists()", "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)" } ] }, { "id": "TestReport.setup.action.operation", "path": "TestReport.setup.action.operation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestReport.setup.action.operation.result", "path": "TestReport.setup.action.operation.result", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The results of executing an action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-result-codes" } } }, { "id": "TestReport.setup.action.operation.message", "path": "TestReport.setup.action.operation.message", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestReport.setup.action.operation.detail", "path": "TestReport.setup.action.operation.detail", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "TestReport.setup.action.assert", "path": "TestReport.setup.action.assert", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestReport.setup.action.assert.result", "path": "TestReport.setup.action.assert.result", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The results of executing an action.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/report-result-codes" } } }, { "id": "TestReport.setup.action.assert.message", "path": "TestReport.setup.action.assert.message", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestReport.setup.action.assert.detail", "path": "TestReport.setup.action.assert.detail", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestReport.test", "path": "TestReport.test", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestReport.test.name", "path": "TestReport.test.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestReport.test.description", "path": "TestReport.test.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestReport.test.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TestAction" } ], "path": "TestReport.test.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-2", "severity": "error", "human": "Test action SHALL contain either an operation or assert but not both.", "expression": "operation.exists() xor assert.exists()", "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)" } ] }, { "id": "TestReport.test.action.operation", "path": "TestReport.test.action.operation", "min": 0, "max": "1", "contentReference": "#TestReport.setup.action.operation" }, { "id": "TestReport.test.action.assert", "path": "TestReport.test.action.assert", "min": 0, "max": "1", "contentReference": "#TestReport.setup.action.assert" }, { "id": "TestReport.teardown", "path": "TestReport.teardown", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestReport.teardown.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TeardownAction" } ], "path": "TestReport.teardown.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestReport.teardown.action.operation", "path": "TestReport.teardown.action.operation", "min": 1, "max": "1", "contentReference": "#TestReport.setup.action.operation" } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/TestScript", "resource": { "resourceType": "StructureDefinition", "id": "TestScript", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Conformance/Misc" } ], "url": "http://hl7.org/fhir/StructureDefinition/TestScript", "name": "TestScript", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "TestScript", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "_baseDefinition": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "valueString": "MetadataResource" } ] }, "derivation": "specialization", "snapshot": { "element": [ { "id": "TestScript", "path": "TestScript", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "TestScript.id", "path": "TestScript.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "TestScript.meta", "path": "TestScript.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "TestScript.implicitRules", "path": "TestScript.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.language", "path": "TestScript.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "TestScript.text", "path": "TestScript.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "TestScript.contained", "path": "TestScript.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "TestScript.extension", "path": "TestScript.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.modifierExtension", "path": "TestScript.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "TestScript.url", "path": "TestScript.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "TestScript.identifier", "path": "TestScript.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "TestScript.version", "path": "TestScript.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestScript.name", "path": "TestScript.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestScript.title", "path": "TestScript.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestScript.status", "path": "TestScript.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "TestScript.experimental", "path": "TestScript.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.publisher", "path": "TestScript.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestScript.contact", "path": "TestScript.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "TestScript.date", "path": "TestScript.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "TestScript.description", "path": "TestScript.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestScript.useContext", "path": "TestScript.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "TestScript.jurisdiction", "path": "TestScript.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "TestScript.purpose", "path": "TestScript.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestScript.copyright", "path": "TestScript.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestScript.origin", "path": "TestScript.origin", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.origin.id", "path": "TestScript.origin.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.origin.extension", "path": "TestScript.origin.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.origin.modifierExtension", "path": "TestScript.origin.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.origin.index", "path": "TestScript.origin.index", "min": 1, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.origin.profile", "path": "TestScript.origin.profile", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "meaningWhenMissing": "FHIR-Client", "binding": { "strength": "extensible", "description": "The type of origin profile the test system supports.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/testscript-profile-origin-types" } } }, { "id": "TestScript.destination", "path": "TestScript.destination", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.destination.id", "path": "TestScript.destination.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.destination.extension", "path": "TestScript.destination.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.destination.modifierExtension", "path": "TestScript.destination.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.destination.index", "path": "TestScript.destination.index", "min": 1, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.destination.profile", "path": "TestScript.destination.profile", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "meaningWhenMissing": "FHIR-Server", "binding": { "strength": "extensible", "description": "The type of destination profile the test system supports.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/testscript-profile-destination-types" } } }, { "id": "TestScript.metadata", "path": "TestScript.metadata", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-4", "severity": "error", "human": "TestScript metadata capability SHALL contain required or validated or both.", "expression": "capability.required.exists() or capability.validated.exists()", "xpath": "f:capability/f:required or f:capability/f:validated or (f:capability/f:required and f:capability/f:validated)" } ] }, { "id": "TestScript.metadata.id", "path": "TestScript.metadata.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.metadata.extension", "path": "TestScript.metadata.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.metadata.modifierExtension", "path": "TestScript.metadata.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.metadata.link", "path": "TestScript.metadata.link", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.metadata.link.id", "path": "TestScript.metadata.link.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.metadata.link.extension", "path": "TestScript.metadata.link.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.metadata.link.modifierExtension", "path": "TestScript.metadata.link.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.metadata.link.url", "path": "TestScript.metadata.link.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "TestScript.metadata.link.description", "path": "TestScript.metadata.link.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.metadata.capability", "path": "TestScript.metadata.capability", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.metadata.capability.id", "path": "TestScript.metadata.capability.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.metadata.capability.extension", "path": "TestScript.metadata.capability.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.metadata.capability.modifierExtension", "path": "TestScript.metadata.capability.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.metadata.capability.required", "path": "TestScript.metadata.capability.required", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.metadata.capability.validated", "path": "TestScript.metadata.capability.validated", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.metadata.capability.description", "path": "TestScript.metadata.capability.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.metadata.capability.origin", "path": "TestScript.metadata.capability.origin", "min": 0, "max": "*", "type": [ { "code": "integer" } ] }, { "id": "TestScript.metadata.capability.destination", "path": "TestScript.metadata.capability.destination", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.metadata.capability.link", "path": "TestScript.metadata.capability.link", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "TestScript.metadata.capability.capabilities", "path": "TestScript.metadata.capability.capabilities", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CapabilityStatement" } ] }, { "id": "TestScript.fixture", "path": "TestScript.fixture", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.fixture.id", "path": "TestScript.fixture.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.fixture.extension", "path": "TestScript.fixture.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.fixture.modifierExtension", "path": "TestScript.fixture.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.fixture.autocreate", "path": "TestScript.fixture.autocreate", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.fixture.autodelete", "path": "TestScript.fixture.autodelete", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.fixture.resource", "path": "TestScript.fixture.resource", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "TestScript.profile", "path": "TestScript.profile", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "TestScript.variable", "path": "TestScript.variable", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-3", "severity": "error", "human": "Variable can only contain one of expression, headerField or path.", "expression": "expression.empty() or headerField.empty() or path.empty()", "xpath": "not(f:expression and f:headerField and f:path)" } ] }, { "id": "TestScript.variable.id", "path": "TestScript.variable.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.extension", "path": "TestScript.variable.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.variable.modifierExtension", "path": "TestScript.variable.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.variable.name", "path": "TestScript.variable.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.defaultValue", "path": "TestScript.variable.defaultValue", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.description", "path": "TestScript.variable.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.expression", "path": "TestScript.variable.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.headerField", "path": "TestScript.variable.headerField", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.hint", "path": "TestScript.variable.hint", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.path", "path": "TestScript.variable.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.sourceId", "path": "TestScript.variable.sourceId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.rule", "path": "TestScript.rule", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.rule.id", "path": "TestScript.rule.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.rule.extension", "path": "TestScript.rule.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.rule.modifierExtension", "path": "TestScript.rule.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.rule.resource", "path": "TestScript.rule.resource", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "TestScript.rule.param", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RuleParam" } ], "path": "TestScript.rule.param", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.rule.param.id", "path": "TestScript.rule.param.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.rule.param.extension", "path": "TestScript.rule.param.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.rule.param.modifierExtension", "path": "TestScript.rule.param.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.rule.param.name", "path": "TestScript.rule.param.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.rule.param.value", "path": "TestScript.rule.param.value", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.ruleset", "path": "TestScript.ruleset", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.ruleset.id", "path": "TestScript.ruleset.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.ruleset.extension", "path": "TestScript.ruleset.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.ruleset.modifierExtension", "path": "TestScript.ruleset.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.ruleset.resource", "path": "TestScript.ruleset.resource", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "TestScript.ruleset.rule", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RulesetRule" } ], "path": "TestScript.ruleset.rule", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.ruleset.rule.id", "path": "TestScript.ruleset.rule.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.ruleset.rule.extension", "path": "TestScript.ruleset.rule.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.ruleset.rule.modifierExtension", "path": "TestScript.ruleset.rule.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.ruleset.rule.ruleId", "path": "TestScript.ruleset.rule.ruleId", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.ruleset.rule.param", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RulesetRuleParam" } ], "path": "TestScript.ruleset.rule.param", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.ruleset.rule.param.id", "path": "TestScript.ruleset.rule.param.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.ruleset.rule.param.extension", "path": "TestScript.ruleset.rule.param.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.ruleset.rule.param.modifierExtension", "path": "TestScript.ruleset.rule.param.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.ruleset.rule.param.name", "path": "TestScript.ruleset.rule.param.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.ruleset.rule.param.value", "path": "TestScript.ruleset.rule.param.value", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup", "path": "TestScript.setup", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.setup.id", "path": "TestScript.setup.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.extension", "path": "TestScript.setup.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.modifierExtension", "path": "TestScript.setup.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SetupAction" } ], "path": "TestScript.setup.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-1", "severity": "error", "human": "Setup action SHALL contain either an operation or assert but not both.", "expression": "operation.exists() xor assert.exists()", "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)" } ] }, { "id": "TestScript.setup.action.id", "path": "TestScript.setup.action.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.extension", "path": "TestScript.setup.action.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.modifierExtension", "path": "TestScript.setup.action.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.operation", "path": "TestScript.setup.action.operation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-7", "severity": "error", "human": "Setup operation SHALL contain either sourceId or targetId or params or url.", "expression": "sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' |'search' | 'transaction' | 'history'))", "xpath": "f:sourceId or ((f:targetId or f:url or f:params) and (count(f:targetId) + count(f:url) + count(f:params) =1)) or (f:type/f:code/@value='capabilities' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')" } ] }, { "id": "TestScript.setup.action.operation.id", "path": "TestScript.setup.action.operation.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.extension", "path": "TestScript.setup.action.operation.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.operation.modifierExtension", "path": "TestScript.setup.action.operation.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.operation.type", "path": "TestScript.setup.action.operation.type", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The allowable operation code types.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/testscript-operation-codes" } } }, { "id": "TestScript.setup.action.operation.resource", "path": "TestScript.setup.action.operation.resource", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Either a resource or a data type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/defined-types" } } }, { "id": "TestScript.setup.action.operation.label", "path": "TestScript.setup.action.operation.label", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.description", "path": "TestScript.setup.action.operation.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.accept", "path": "TestScript.setup.action.operation.accept", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "xml", "binding": { "strength": "required", "description": "The content or mime type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/content-type" } } }, { "id": "TestScript.setup.action.operation.contentType", "path": "TestScript.setup.action.operation.contentType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "xml", "binding": { "strength": "required", "description": "The content or mime type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/content-type" } } }, { "id": "TestScript.setup.action.operation.destination", "path": "TestScript.setup.action.operation.destination", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.setup.action.operation.encodeRequestUrl", "path": "TestScript.setup.action.operation.encodeRequestUrl", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true }, { "id": "TestScript.setup.action.operation.origin", "path": "TestScript.setup.action.operation.origin", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.setup.action.operation.params", "path": "TestScript.setup.action.operation.params", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.requestHeader", "path": "TestScript.setup.action.operation.requestHeader", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.setup.action.operation.requestHeader.id", "path": "TestScript.setup.action.operation.requestHeader.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.requestHeader.extension", "path": "TestScript.setup.action.operation.requestHeader.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.operation.requestHeader.modifierExtension", "path": "TestScript.setup.action.operation.requestHeader.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.operation.requestHeader.field", "path": "TestScript.setup.action.operation.requestHeader.field", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.requestHeader.value", "path": "TestScript.setup.action.operation.requestHeader.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.requestId", "path": "TestScript.setup.action.operation.requestId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.operation.responseId", "path": "TestScript.setup.action.operation.responseId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.operation.sourceId", "path": "TestScript.setup.action.operation.sourceId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.operation.targetId", "path": "TestScript.setup.action.operation.targetId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.operation.url", "path": "TestScript.setup.action.operation.url", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert", "path": "TestScript.setup.action.assert", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-5", "severity": "error", "human": "Only a single assertion SHALL be present within setup action assert element.", "expression": "contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + resource.count() + responseCode.count() + response.count() + rule.count() + ruleset.count() + validateProfileId.count() <=1", "xpath": "count(f:contentType) + count(f:expression) + count(f:headerField) + count(f:minimumId) + count(f:navigationLinks) + count(f:path) + count(f:resource) + count(f:responseCode) + count(f:response) + count(f:rule) + count(f:ruleset) + count(f:validateProfileId) <=1" }, { "key": "inv-10", "severity": "error", "human": "Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither.", "expression": "compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())", "xpath": "(f:compareToSourceId and f:compareToSourceExpression) or (f:compareToSourceId and f:compareToSourcePath) or not(f:compareToSourceId or f:compareToSourceExpression or f:compareToSourcePath)" }, { "key": "inv-12", "severity": "error", "human": "Setup action assert response and response and responseCode SHALL be empty when direction equals request", "expression": "(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'", "xpath": "((count(f:response) + count(f:responseCode)) = 0 and (f:direction/@value='request')) or (count(f:direction) = 0) or (f:direction/@value='response')" } ] }, { "id": "TestScript.setup.action.assert.id", "path": "TestScript.setup.action.assert.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.extension", "path": "TestScript.setup.action.assert.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.assert.modifierExtension", "path": "TestScript.setup.action.assert.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.assert.label", "path": "TestScript.setup.action.assert.label", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.description", "path": "TestScript.setup.action.assert.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.direction", "path": "TestScript.setup.action.assert.direction", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of direction to use for assertion.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/assert-direction-codes" } } }, { "id": "TestScript.setup.action.assert.compareToSourceId", "path": "TestScript.setup.action.assert.compareToSourceId", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.compareToSourceExpression", "path": "TestScript.setup.action.assert.compareToSourceExpression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.compareToSourcePath", "path": "TestScript.setup.action.assert.compareToSourcePath", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.contentType", "path": "TestScript.setup.action.assert.contentType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "xml", "binding": { "strength": "required", "description": "The content or mime type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/content-type" } } }, { "id": "TestScript.setup.action.assert.expression", "path": "TestScript.setup.action.assert.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.headerField", "path": "TestScript.setup.action.assert.headerField", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.minimumId", "path": "TestScript.setup.action.assert.minimumId", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.navigationLinks", "path": "TestScript.setup.action.assert.navigationLinks", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "TestScript.setup.action.assert.operator", "path": "TestScript.setup.action.assert.operator", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of operator to use for assertion.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/assert-operator-codes" } } }, { "id": "TestScript.setup.action.assert.path", "path": "TestScript.setup.action.assert.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.requestURL", "path": "TestScript.setup.action.assert.requestURL", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.resource", "path": "TestScript.setup.action.assert.resource", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Either a resource or a data type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/defined-types" } } }, { "id": "TestScript.setup.action.assert.response", "path": "TestScript.setup.action.assert.response", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of response code to use for assertion.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/assert-response-code-types" } } }, { "id": "TestScript.setup.action.assert.responseCode", "path": "TestScript.setup.action.assert.responseCode", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.rule", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ActionAssertRule" } ], "path": "TestScript.setup.action.assert.rule", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.setup.action.assert.rule.id", "path": "TestScript.setup.action.assert.rule.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.rule.extension", "path": "TestScript.setup.action.assert.rule.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.assert.rule.modifierExtension", "path": "TestScript.setup.action.assert.rule.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.assert.rule.ruleId", "path": "TestScript.setup.action.assert.rule.ruleId", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.rule.param", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ActionAssertRuleParam" } ], "path": "TestScript.setup.action.assert.rule.param", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.setup.action.assert.rule.param.id", "path": "TestScript.setup.action.assert.rule.param.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.rule.param.extension", "path": "TestScript.setup.action.assert.rule.param.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.assert.rule.param.modifierExtension", "path": "TestScript.setup.action.assert.rule.param.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.assert.rule.param.name", "path": "TestScript.setup.action.assert.rule.param.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.rule.param.value", "path": "TestScript.setup.action.assert.rule.param.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.ruleset", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ActionAssertRuleset" } ], "path": "TestScript.setup.action.assert.ruleset", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.setup.action.assert.ruleset.id", "path": "TestScript.setup.action.assert.ruleset.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.ruleset.extension", "path": "TestScript.setup.action.assert.ruleset.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.assert.ruleset.modifierExtension", "path": "TestScript.setup.action.assert.ruleset.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.assert.ruleset.rulesetId", "path": "TestScript.setup.action.assert.ruleset.rulesetId", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ActionAssertRulesetRule" } ], "path": "TestScript.setup.action.assert.ruleset.rule", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.id", "path": "TestScript.setup.action.assert.ruleset.rule.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.extension", "path": "TestScript.setup.action.assert.ruleset.rule.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.modifierExtension", "path": "TestScript.setup.action.assert.ruleset.rule.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.assert.ruleset.rule.ruleId", "path": "TestScript.setup.action.assert.ruleset.rule.ruleId", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.param", "path": "TestScript.setup.action.assert.ruleset.rule.param", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.param.id", "path": "TestScript.setup.action.assert.ruleset.rule.param.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.param.extension", "path": "TestScript.setup.action.assert.ruleset.rule.param.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.param.modifierExtension", "path": "TestScript.setup.action.assert.ruleset.rule.param.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.setup.action.assert.ruleset.rule.param.name", "path": "TestScript.setup.action.assert.ruleset.rule.param.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.param.value", "path": "TestScript.setup.action.assert.ruleset.rule.param.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.sourceId", "path": "TestScript.setup.action.assert.sourceId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.validateProfileId", "path": "TestScript.setup.action.assert.validateProfileId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.value", "path": "TestScript.setup.action.assert.value", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.warningOnly", "path": "TestScript.setup.action.assert.warningOnly", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.test", "path": "TestScript.test", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.test.id", "path": "TestScript.test.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.test.extension", "path": "TestScript.test.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.test.modifierExtension", "path": "TestScript.test.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.test.name", "path": "TestScript.test.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.test.description", "path": "TestScript.test.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.test.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TestAction" } ], "path": "TestScript.test.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "inv-2", "severity": "error", "human": "Test action SHALL contain either an operation or assert but not both.", "expression": "operation.exists() xor assert.exists()", "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)" } ] }, { "id": "TestScript.test.action.id", "path": "TestScript.test.action.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.test.action.extension", "path": "TestScript.test.action.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.test.action.modifierExtension", "path": "TestScript.test.action.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.test.action.operation", "path": "TestScript.test.action.operation", "min": 0, "max": "1", "contentReference": "#TestScript.setup.action.operation", "constraint": [ { "key": "inv-8", "severity": "error", "human": "Test operation SHALL contain either sourceId or targetId or params or url.", "expression": "sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))", "xpath": "f:sourceId or (f:targetId or f:url or f:params) and (count(f:targetId) + count(f:url) + count(f:params) =1) or (f:type/f:code/@value='capabilities' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')" } ] }, { "id": "TestScript.test.action.assert", "path": "TestScript.test.action.assert", "min": 0, "max": "1", "contentReference": "#TestScript.setup.action.assert", "constraint": [ { "key": "inv-6", "severity": "error", "human": "Only a single assertion SHALL be present within test action assert element.", "expression": "contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + resource.count() + responseCode.count() + response.count() + rule.count() + ruleset.count() + validateProfileId.count() <=1", "xpath": "count(f:contentType) + count(f:expression) + count(f:headerField) + count(f:minimumId) + count(f:navigationLinks) + count(f:path) + count(f:resource) + count(f:responseCode) + count(f:response) + count(f:rule) + count(f:ruleset) + count(f:validateProfileId) <=1" }, { "key": "inv-11", "severity": "error", "human": "Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither.", "expression": "compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())", "xpath": "(f:compareToSourceId and f:compareToSourceExpression) or (f:compareToSourceId and f:compareToSourcePath) or not(f:compareToSourceId or f:compareToSourceExpression or f:compareToSourcePath)" }, { "key": "inv-13", "severity": "error", "human": "Test action assert response and response and responseCode SHALL be empty when direction equals request", "expression": "(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'", "xpath": "((count(f:response) + count(f:responseCode)) = 0 and (f:direction/@value='request')) or (count(f:direction) = 0) or (f:direction/@value='response')" } ] }, { "id": "TestScript.teardown", "path": "TestScript.teardown", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.teardown.id", "path": "TestScript.teardown.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.teardown.extension", "path": "TestScript.teardown.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.teardown.modifierExtension", "path": "TestScript.teardown.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.teardown.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TeardownAction" } ], "path": "TestScript.teardown.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "TestScript.teardown.action.id", "path": "TestScript.teardown.action.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "TestScript.teardown.action.extension", "path": "TestScript.teardown.action.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "TestScript.teardown.action.modifierExtension", "path": "TestScript.teardown.action.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.teardown.action.operation", "path": "TestScript.teardown.action.operation", "min": 1, "max": "1", "contentReference": "#TestScript.setup.action.operation", "constraint": [ { "key": "inv-9", "severity": "error", "human": "Teardown operation SHALL contain either sourceId or targetId or params or url.", "expression": "sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))", "xpath": "f:sourceId or (f:targetId or f:url or (f:params and f:resource)) and (count(f:targetId) + count(f:url) + count(f:params) =1) or (f:type/f:code/@value='capabilities' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')" } ] } ] }, "differential": { "element": [ { "id": "TestScript", "path": "TestScript", "min": 0, "max": "*" }, { "id": "TestScript.url", "path": "TestScript.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "TestScript.identifier", "path": "TestScript.identifier", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isSummary": true }, { "id": "TestScript.version", "path": "TestScript.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestScript.name", "path": "TestScript.name", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestScript.title", "path": "TestScript.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestScript.status", "path": "TestScript.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "TestScript.experimental", "path": "TestScript.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "TestScript.publisher", "path": "TestScript.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "TestScript.contact", "path": "TestScript.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "TestScript.date", "path": "TestScript.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "TestScript.description", "path": "TestScript.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestScript.useContext", "path": "TestScript.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "TestScript.jurisdiction", "path": "TestScript.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "TestScript.purpose", "path": "TestScript.purpose", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestScript.copyright", "path": "TestScript.copyright", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] }, { "id": "TestScript.origin", "path": "TestScript.origin", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.origin.index", "path": "TestScript.origin.index", "min": 1, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.origin.profile", "path": "TestScript.origin.profile", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "meaningWhenMissing": "FHIR-Client", "binding": { "strength": "extensible", "description": "The type of origin profile the test system supports.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/testscript-profile-origin-types" } } }, { "id": "TestScript.destination", "path": "TestScript.destination", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.destination.index", "path": "TestScript.destination.index", "min": 1, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.destination.profile", "path": "TestScript.destination.profile", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "meaningWhenMissing": "FHIR-Server", "binding": { "strength": "extensible", "description": "The type of destination profile the test system supports.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/testscript-profile-destination-types" } } }, { "id": "TestScript.metadata", "path": "TestScript.metadata", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-4", "severity": "error", "human": "TestScript metadata capability SHALL contain required or validated or both.", "expression": "capability.required.exists() or capability.validated.exists()", "xpath": "f:capability/f:required or f:capability/f:validated or (f:capability/f:required and f:capability/f:validated)" } ] }, { "id": "TestScript.metadata.link", "path": "TestScript.metadata.link", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.metadata.link.url", "path": "TestScript.metadata.link.url", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "id": "TestScript.metadata.link.description", "path": "TestScript.metadata.link.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.metadata.capability", "path": "TestScript.metadata.capability", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.metadata.capability.required", "path": "TestScript.metadata.capability.required", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.metadata.capability.validated", "path": "TestScript.metadata.capability.validated", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.metadata.capability.description", "path": "TestScript.metadata.capability.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.metadata.capability.origin", "path": "TestScript.metadata.capability.origin", "min": 0, "max": "*", "type": [ { "code": "integer" } ] }, { "id": "TestScript.metadata.capability.destination", "path": "TestScript.metadata.capability.destination", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.metadata.capability.link", "path": "TestScript.metadata.capability.link", "min": 0, "max": "*", "type": [ { "code": "uri" } ] }, { "id": "TestScript.metadata.capability.capabilities", "path": "TestScript.metadata.capability.capabilities", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CapabilityStatement" } ] }, { "id": "TestScript.fixture", "path": "TestScript.fixture", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.fixture.autocreate", "path": "TestScript.fixture.autocreate", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.fixture.autodelete", "path": "TestScript.fixture.autodelete", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.fixture.resource", "path": "TestScript.fixture.resource", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "TestScript.profile", "path": "TestScript.profile", "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "TestScript.variable", "path": "TestScript.variable", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-3", "severity": "error", "human": "Variable can only contain one of expression, headerField or path.", "expression": "expression.empty() or headerField.empty() or path.empty()", "xpath": "not(f:expression and f:headerField and f:path)" } ] }, { "id": "TestScript.variable.name", "path": "TestScript.variable.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.defaultValue", "path": "TestScript.variable.defaultValue", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.description", "path": "TestScript.variable.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.expression", "path": "TestScript.variable.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.headerField", "path": "TestScript.variable.headerField", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.hint", "path": "TestScript.variable.hint", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.path", "path": "TestScript.variable.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.variable.sourceId", "path": "TestScript.variable.sourceId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.rule", "path": "TestScript.rule", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.rule.resource", "path": "TestScript.rule.resource", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "TestScript.rule.param", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RuleParam" } ], "path": "TestScript.rule.param", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.rule.param.name", "path": "TestScript.rule.param.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.rule.param.value", "path": "TestScript.rule.param.value", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.ruleset", "path": "TestScript.ruleset", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.ruleset.resource", "path": "TestScript.ruleset.resource", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ] }, { "id": "TestScript.ruleset.rule", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RulesetRule" } ], "path": "TestScript.ruleset.rule", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.ruleset.rule.ruleId", "path": "TestScript.ruleset.rule.ruleId", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.ruleset.rule.param", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "RulesetRuleParam" } ], "path": "TestScript.ruleset.rule.param", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.ruleset.rule.param.name", "path": "TestScript.ruleset.rule.param.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.ruleset.rule.param.value", "path": "TestScript.ruleset.rule.param.value", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup", "path": "TestScript.setup", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.setup.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "SetupAction" } ], "path": "TestScript.setup.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-1", "severity": "error", "human": "Setup action SHALL contain either an operation or assert but not both.", "expression": "operation.exists() xor assert.exists()", "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)" } ] }, { "id": "TestScript.setup.action.operation", "path": "TestScript.setup.action.operation", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-7", "severity": "error", "human": "Setup operation SHALL contain either sourceId or targetId or params or url.", "expression": "sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' |'search' | 'transaction' | 'history'))", "xpath": "f:sourceId or ((f:targetId or f:url or f:params) and (count(f:targetId) + count(f:url) + count(f:params) =1)) or (f:type/f:code/@value='capabilities' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')" } ] }, { "id": "TestScript.setup.action.operation.type", "path": "TestScript.setup.action.operation.type", "min": 0, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "description": "The allowable operation code types.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/testscript-operation-codes" } } }, { "id": "TestScript.setup.action.operation.resource", "path": "TestScript.setup.action.operation.resource", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Either a resource or a data type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/defined-types" } } }, { "id": "TestScript.setup.action.operation.label", "path": "TestScript.setup.action.operation.label", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.description", "path": "TestScript.setup.action.operation.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.accept", "path": "TestScript.setup.action.operation.accept", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "xml", "binding": { "strength": "required", "description": "The content or mime type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/content-type" } } }, { "id": "TestScript.setup.action.operation.contentType", "path": "TestScript.setup.action.operation.contentType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "xml", "binding": { "strength": "required", "description": "The content or mime type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/content-type" } } }, { "id": "TestScript.setup.action.operation.destination", "path": "TestScript.setup.action.operation.destination", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.setup.action.operation.encodeRequestUrl", "path": "TestScript.setup.action.operation.encodeRequestUrl", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": true }, { "id": "TestScript.setup.action.operation.origin", "path": "TestScript.setup.action.operation.origin", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "TestScript.setup.action.operation.params", "path": "TestScript.setup.action.operation.params", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.requestHeader", "path": "TestScript.setup.action.operation.requestHeader", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.setup.action.operation.requestHeader.field", "path": "TestScript.setup.action.operation.requestHeader.field", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.requestHeader.value", "path": "TestScript.setup.action.operation.requestHeader.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.operation.requestId", "path": "TestScript.setup.action.operation.requestId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.operation.responseId", "path": "TestScript.setup.action.operation.responseId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.operation.sourceId", "path": "TestScript.setup.action.operation.sourceId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.operation.targetId", "path": "TestScript.setup.action.operation.targetId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.operation.url", "path": "TestScript.setup.action.operation.url", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert", "path": "TestScript.setup.action.assert", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-5", "severity": "error", "human": "Only a single assertion SHALL be present within setup action assert element.", "expression": "contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + resource.count() + responseCode.count() + response.count() + rule.count() + ruleset.count() + validateProfileId.count() <=1", "xpath": "count(f:contentType) + count(f:expression) + count(f:headerField) + count(f:minimumId) + count(f:navigationLinks) + count(f:path) + count(f:resource) + count(f:responseCode) + count(f:response) + count(f:rule) + count(f:ruleset) + count(f:validateProfileId) <=1" }, { "key": "inv-10", "severity": "error", "human": "Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither.", "expression": "compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())", "xpath": "(f:compareToSourceId and f:compareToSourceExpression) or (f:compareToSourceId and f:compareToSourcePath) or not(f:compareToSourceId or f:compareToSourceExpression or f:compareToSourcePath)" }, { "key": "inv-12", "severity": "error", "human": "Setup action assert response and response and responseCode SHALL be empty when direction equals request", "expression": "(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'", "xpath": "((count(f:response) + count(f:responseCode)) = 0 and (f:direction/@value='request')) or (count(f:direction) = 0) or (f:direction/@value='response')" } ] }, { "id": "TestScript.setup.action.assert.label", "path": "TestScript.setup.action.assert.label", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.description", "path": "TestScript.setup.action.assert.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.direction", "path": "TestScript.setup.action.assert.direction", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of direction to use for assertion.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/assert-direction-codes" } } }, { "id": "TestScript.setup.action.assert.compareToSourceId", "path": "TestScript.setup.action.assert.compareToSourceId", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.compareToSourceExpression", "path": "TestScript.setup.action.assert.compareToSourceExpression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.compareToSourcePath", "path": "TestScript.setup.action.assert.compareToSourcePath", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.contentType", "path": "TestScript.setup.action.assert.contentType", "min": 0, "max": "1", "type": [ { "code": "code" } ], "meaningWhenMissing": "xml", "binding": { "strength": "required", "description": "The content or mime type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/content-type" } } }, { "id": "TestScript.setup.action.assert.expression", "path": "TestScript.setup.action.assert.expression", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.headerField", "path": "TestScript.setup.action.assert.headerField", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.minimumId", "path": "TestScript.setup.action.assert.minimumId", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.navigationLinks", "path": "TestScript.setup.action.assert.navigationLinks", "min": 0, "max": "1", "type": [ { "code": "boolean" } ] }, { "id": "TestScript.setup.action.assert.operator", "path": "TestScript.setup.action.assert.operator", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of operator to use for assertion.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/assert-operator-codes" } } }, { "id": "TestScript.setup.action.assert.path", "path": "TestScript.setup.action.assert.path", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.requestURL", "path": "TestScript.setup.action.assert.requestURL", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.resource", "path": "TestScript.setup.action.assert.resource", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "Either a resource or a data type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/defined-types" } } }, { "id": "TestScript.setup.action.assert.response", "path": "TestScript.setup.action.assert.response", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "strength": "required", "description": "The type of response code to use for assertion.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/assert-response-code-types" } } }, { "id": "TestScript.setup.action.assert.responseCode", "path": "TestScript.setup.action.assert.responseCode", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.rule", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ActionAssertRule" } ], "path": "TestScript.setup.action.assert.rule", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.setup.action.assert.rule.ruleId", "path": "TestScript.setup.action.assert.rule.ruleId", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.rule.param", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ActionAssertRuleParam" } ], "path": "TestScript.setup.action.assert.rule.param", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.setup.action.assert.rule.param.name", "path": "TestScript.setup.action.assert.rule.param.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.rule.param.value", "path": "TestScript.setup.action.assert.rule.param.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.ruleset", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ActionAssertRuleset" } ], "path": "TestScript.setup.action.assert.ruleset", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rulesetId", "path": "TestScript.setup.action.assert.ruleset.rulesetId", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "ActionAssertRulesetRule" } ], "path": "TestScript.setup.action.assert.ruleset.rule", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.ruleId", "path": "TestScript.setup.action.assert.ruleset.rule.ruleId", "min": 1, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.param", "path": "TestScript.setup.action.assert.ruleset.rule.param", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.param.name", "path": "TestScript.setup.action.assert.ruleset.rule.param.name", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.ruleset.rule.param.value", "path": "TestScript.setup.action.assert.ruleset.rule.param.value", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.sourceId", "path": "TestScript.setup.action.assert.sourceId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.validateProfileId", "path": "TestScript.setup.action.assert.validateProfileId", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "id": "TestScript.setup.action.assert.value", "path": "TestScript.setup.action.assert.value", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.setup.action.assert.warningOnly", "path": "TestScript.setup.action.assert.warningOnly", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "defaultValueBoolean": false }, { "id": "TestScript.test", "path": "TestScript.test", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.test.name", "path": "TestScript.test.name", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.test.description", "path": "TestScript.test.description", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "TestScript.test.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TestAction" } ], "path": "TestScript.test.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "inv-2", "severity": "error", "human": "Test action SHALL contain either an operation or assert but not both.", "expression": "operation.exists() xor assert.exists()", "xpath": "(f:operation or f:assert) and not(f:operation and f:assert)" } ] }, { "id": "TestScript.test.action.operation", "path": "TestScript.test.action.operation", "min": 0, "max": "1", "contentReference": "#TestScript.setup.action.operation", "constraint": [ { "key": "inv-8", "severity": "error", "human": "Test operation SHALL contain either sourceId or targetId or params or url.", "expression": "sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))", "xpath": "f:sourceId or (f:targetId or f:url or f:params) and (count(f:targetId) + count(f:url) + count(f:params) =1) or (f:type/f:code/@value='capabilities' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')" } ] }, { "id": "TestScript.test.action.assert", "path": "TestScript.test.action.assert", "min": 0, "max": "1", "contentReference": "#TestScript.setup.action.assert", "constraint": [ { "key": "inv-6", "severity": "error", "human": "Only a single assertion SHALL be present within test action assert element.", "expression": "contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + resource.count() + responseCode.count() + response.count() + rule.count() + ruleset.count() + validateProfileId.count() <=1", "xpath": "count(f:contentType) + count(f:expression) + count(f:headerField) + count(f:minimumId) + count(f:navigationLinks) + count(f:path) + count(f:resource) + count(f:responseCode) + count(f:response) + count(f:rule) + count(f:ruleset) + count(f:validateProfileId) <=1" }, { "key": "inv-11", "severity": "error", "human": "Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither.", "expression": "compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())", "xpath": "(f:compareToSourceId and f:compareToSourceExpression) or (f:compareToSourceId and f:compareToSourcePath) or not(f:compareToSourceId or f:compareToSourceExpression or f:compareToSourcePath)" }, { "key": "inv-13", "severity": "error", "human": "Test action assert response and response and responseCode SHALL be empty when direction equals request", "expression": "(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'", "xpath": "((count(f:response) + count(f:responseCode)) = 0 and (f:direction/@value='request')) or (count(f:direction) = 0) or (f:direction/@value='response')" } ] }, { "id": "TestScript.teardown", "path": "TestScript.teardown", "min": 0, "max": "1", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.teardown.action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "TeardownAction" } ], "path": "TestScript.teardown.action", "min": 1, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "TestScript.teardown.action.operation", "path": "TestScript.teardown.action.operation", "min": 1, "max": "1", "contentReference": "#TestScript.setup.action.operation", "constraint": [ { "key": "inv-9", "severity": "error", "human": "Teardown operation SHALL contain either sourceId or targetId or params or url.", "expression": "sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))", "xpath": "f:sourceId or (f:targetId or f:url or (f:params and f:resource)) and (count(f:targetId) + count(f:url) + count(f:params) =1) or (f:type/f:code/@value='capabilities' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/VisionPrescription", "resource": { "resourceType": "StructureDefinition", "id": "VisionPrescription", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical/Care Provision" } ], "url": "http://hl7.org/fhir/StructureDefinition/VisionPrescription", "name": "VisionPrescription", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "resource", "abstract": false, "type": "VisionPrescription", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "VisionPrescription", "path": "VisionPrescription", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "VisionPrescription.id", "path": "VisionPrescription.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "VisionPrescription.meta", "path": "VisionPrescription.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "VisionPrescription.implicitRules", "path": "VisionPrescription.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "VisionPrescription.language", "path": "VisionPrescription.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "VisionPrescription.text", "path": "VisionPrescription.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "VisionPrescription.contained", "path": "VisionPrescription.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "VisionPrescription.extension", "path": "VisionPrescription.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "VisionPrescription.modifierExtension", "path": "VisionPrescription.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "VisionPrescription.identifier", "path": "VisionPrescription.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "VisionPrescription.status", "path": "VisionPrescription.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "VisionPrescription.patient", "path": "VisionPrescription.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "VisionPrescription.encounter", "path": "VisionPrescription.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "VisionPrescription.dateWritten", "path": "VisionPrescription.dateWritten", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "VisionPrescription.prescriber", "path": "VisionPrescription.prescriber", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "VisionPrescription.reason[x]", "path": "VisionPrescription.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "VisionPrescription.dispense", "path": "VisionPrescription.dispense", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" } ] }, { "id": "VisionPrescription.dispense.id", "path": "VisionPrescription.dispense.id", "representation": [ "xmlAttr" ], "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ] }, { "id": "VisionPrescription.dispense.extension", "path": "VisionPrescription.dispense.extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "VisionPrescription.dispense.modifierExtension", "path": "VisionPrescription.dispense.modifierExtension", "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true }, { "id": "VisionPrescription.dispense.product", "path": "VisionPrescription.dispense.product", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the vision products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vision-product" } } }, { "id": "VisionPrescription.dispense.eye", "path": "VisionPrescription.dispense.eye", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "A coded concept listing the eye codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vision-eye-codes" } } }, { "id": "VisionPrescription.dispense.sphere", "path": "VisionPrescription.dispense.sphere", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.cylinder", "path": "VisionPrescription.dispense.cylinder", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.axis", "path": "VisionPrescription.dispense.axis", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "VisionPrescription.dispense.prism", "path": "VisionPrescription.dispense.prism", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.base", "path": "VisionPrescription.dispense.base", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "A coded concept listing the base codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vision-base-codes" } } }, { "id": "VisionPrescription.dispense.add", "path": "VisionPrescription.dispense.add", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.power", "path": "VisionPrescription.dispense.power", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.backCurve", "path": "VisionPrescription.dispense.backCurve", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.diameter", "path": "VisionPrescription.dispense.diameter", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.duration", "path": "VisionPrescription.dispense.duration", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "VisionPrescription.dispense.color", "path": "VisionPrescription.dispense.color", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "VisionPrescription.dispense.brand", "path": "VisionPrescription.dispense.brand", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "VisionPrescription.dispense.note", "path": "VisionPrescription.dispense.note", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] }, "differential": { "element": [ { "id": "VisionPrescription", "path": "VisionPrescription", "min": 0, "max": "*" }, { "id": "VisionPrescription.identifier", "path": "VisionPrescription.identifier", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ] }, { "id": "VisionPrescription.status", "path": "VisionPrescription.status", "min": 0, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "A code specifying the state of the resource instance.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/fm-status" } } }, { "id": "VisionPrescription.patient", "path": "VisionPrescription.patient", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "VisionPrescription.encounter", "path": "VisionPrescription.encounter", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ] }, { "id": "VisionPrescription.dateWritten", "path": "VisionPrescription.dateWritten", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ] }, { "id": "VisionPrescription.prescriber", "path": "VisionPrescription.prescriber", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "VisionPrescription.reason[x]", "path": "VisionPrescription.reason[x]", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ] }, { "id": "VisionPrescription.dispense", "path": "VisionPrescription.dispense", "min": 0, "max": "*", "type": [ { "code": "BackboneElement" } ] }, { "id": "VisionPrescription.dispense.product", "path": "VisionPrescription.dispense.product", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "A coded concept describing the vision products.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vision-product" } } }, { "id": "VisionPrescription.dispense.eye", "path": "VisionPrescription.dispense.eye", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "A coded concept listing the eye codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vision-eye-codes" } } }, { "id": "VisionPrescription.dispense.sphere", "path": "VisionPrescription.dispense.sphere", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.cylinder", "path": "VisionPrescription.dispense.cylinder", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.axis", "path": "VisionPrescription.dispense.axis", "min": 0, "max": "1", "type": [ { "code": "integer" } ] }, { "id": "VisionPrescription.dispense.prism", "path": "VisionPrescription.dispense.prism", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.base", "path": "VisionPrescription.dispense.base", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "A coded concept listing the base codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/vision-base-codes" } } }, { "id": "VisionPrescription.dispense.add", "path": "VisionPrescription.dispense.add", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.power", "path": "VisionPrescription.dispense.power", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.backCurve", "path": "VisionPrescription.dispense.backCurve", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.diameter", "path": "VisionPrescription.dispense.diameter", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "id": "VisionPrescription.dispense.duration", "path": "VisionPrescription.dispense.duration", "min": 0, "max": "1", "type": [ { "code": "Quantity", "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" } ] }, { "id": "VisionPrescription.dispense.color", "path": "VisionPrescription.dispense.color", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "VisionPrescription.dispense.brand", "path": "VisionPrescription.dispense.brand", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "id": "VisionPrescription.dispense.note", "path": "VisionPrescription.dispense.note", "min": 0, "max": "1", "type": [ { "code": "string" } ] } ] } } }, { "fullUrl": "http://hl7.org/fhir/StructureDefinition/MetadataResource", "resource": { "resourceType": "StructureDefinition", "id": "MetadataResource", "meta": { "lastUpdated": "2016-12-07T09:17:27.548-05:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" } ], "url": "http://hl7.org/fhir/StructureDefinition/MetadataResource", "name": "MetadataResource", "status": "draft", "date": "2016-12-07T09:17:27-05:00", "fhirVersion": "1.8.0", "kind": "logical", "abstract": false, "type": "MetadataResource", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "MetadataResource", "path": "MetadataResource", "min": 1, "max": "1", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource" } ] }, { "id": "MetadataResource.id", "path": "MetadataResource.id", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "MetadataResource.meta", "path": "MetadataResource.meta", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "MetadataResource.implicitRules", "path": "MetadataResource.implicitRules", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "MetadataResource.language", "path": "MetadataResource.language", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "MetadataResource.text", "path": "MetadataResource.text", "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ] }, { "id": "MetadataResource.contained", "path": "MetadataResource.contained", "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ] }, { "id": "MetadataResource.extension", "path": "MetadataResource.extension", "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "MetadataResource.modifierExtension", "path": "MetadataResource.modifierExtension", "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true }, { "id": "MetadataResource.url", "path": "MetadataResource.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "MetadataResource.version", "path": "MetadataResource.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MetadataResource.name", "path": "MetadataResource.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MetadataResource.title", "path": "MetadataResource.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MetadataResource.status", "path": "MetadataResource.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "MetadataResource.experimental", "path": "MetadataResource.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "MetadataResource.date", "path": "MetadataResource.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MetadataResource.publisher", "path": "MetadataResource.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MetadataResource.contact", "path": "MetadataResource.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "MetadataResource.useContext", "path": "MetadataResource.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "MetadataResource.jurisdiction", "path": "MetadataResource.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "MetadataResource.description", "path": "MetadataResource.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] } ] }, "differential": { "element": [ { "id": "MetadataResource", "path": "MetadataResource", "min": 1, "max": "1" }, { "id": "MetadataResource.url", "path": "MetadataResource.url", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isSummary": true }, { "id": "MetadataResource.version", "path": "MetadataResource.version", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MetadataResource.name", "path": "MetadataResource.name", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MetadataResource.title", "path": "MetadataResource.title", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MetadataResource.status", "path": "MetadataResource.status", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The lifecycle status of a Value Set or Concept Map.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/publication-status" } } }, { "id": "MetadataResource.experimental", "path": "MetadataResource.experimental", "min": 0, "max": "1", "type": [ { "code": "boolean" } ], "isModifier": true, "isSummary": true }, { "id": "MetadataResource.date", "path": "MetadataResource.date", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isSummary": true }, { "id": "MetadataResource.publisher", "path": "MetadataResource.publisher", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "MetadataResource.contact", "path": "MetadataResource.contact", "min": 0, "max": "*", "type": [ { "code": "ContactDetail" } ], "isSummary": true }, { "id": "MetadataResource.useContext", "path": "MetadataResource.useContext", "min": 0, "max": "*", "type": [ { "code": "UsageContext" } ], "isSummary": true }, { "id": "MetadataResource.jurisdiction", "path": "MetadataResource.jurisdiction", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Countries and regions within which this artifact is targeted for use", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/jurisdiction" } } }, { "id": "MetadataResource.description", "path": "MetadataResource.description", "min": 0, "max": "1", "type": [ { "code": "markdown" } ] } ] } } } ] }