{"abstract":false,"baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/fiwg"}]}],"context":[{"expression":"ActivityDefinition","type":"element"},{"expression":"CapabilityStatement","type":"element"},{"expression":"CapabilityStatement2","type":"element"},{"expression":"ChargeItemDefinition","type":"element"},{"expression":"Citation","type":"element"},{"expression":"CodeSystem","type":"element"},{"expression":"CompartmentDefinition","type":"element"},{"expression":"ConceptMap","type":"element"},{"expression":"ConditionDefinition","type":"element"},{"expression":"EventDefinition","type":"element"},{"expression":"Evidence","type":"element"},{"expression":"EvidenceReport","type":"element"},{"expression":"EvidenceVariable","type":"element"},{"expression":"ExampleScenario","type":"element"},{"expression":"GraphDefinition","type":"element"},{"expression":"ImplementationGuide","type":"element"},{"expression":"Library","type":"element"},{"expression":"Measure","type":"element"},{"expression":"MessageDefinition","type":"element"},{"expression":"NamingSystem","type":"element"},{"expression":"ObservationDefinition","type":"element"},{"expression":"OperationDefinition","type":"element"},{"expression":"PlanDefinition","type":"element"},{"expression":"Questionnaire","type":"element"},{"expression":"SearchParameter","type":"element"},{"expression":"StructureDefinition","type":"element"},{"expression":"StructureMap","type":"element"},{"expression":"TerminologyCapabilities","type":"element"},{"expression":"TestScript","type":"element"},{"expression":"ValueSet","type":"element"}],"date":"2013-12-05","derivation":"constraint","description":"Indicates a resource that this resource is replacing.","differential":{"element":[{"comment":"This is usually a versioned reference. Often, it will be to another version of the same resource.","definition":"Indicates a resource that this resource is replacing.","id":"Extension","max":"*","min":0,"path":"Extension","short":"References a resource that this resource replaces"},{"id":"Extension.extension","max":"0","path":"Extension.extension"},{"fixedUri":"http://hl7.org/fhir/StructureDefinition/replaces","id":"Extension.url","path":"Extension.url"},{"id":"Extension.value[x]","min":1,"path":"Extension.value[x]","type":[{"code":"canonical","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}]}]},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg","valueCode":"fhir"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1}],"fhirVersion":"4.6.0","id":"replaces","kind":"complex-type","mapping":[{"identity":"rim","name":"RIM Mapping","uri":"http://hl7.org/v3"}],"name":"replaces","publisher":"Health Level Seven International (FHIR Infrastructure)","resourceType":"StructureDefinition","snapshot":{"element":[{"base":{"max":"*","min":0,"path":"Extension"},"comment":"This is usually a versioned reference. Often, it will be to another version of the same resource.","constraint":[{"expression":"hasValue() or (children().count() > id.count())","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Element","xpath":"@value|f:*|h:div"},{"expression":"extension.exists() != value.exists()","human":"Must have either extensions or value[x], not both","key":"ext-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Extension","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"}],"definition":"Indicates a resource that this resource is replacing.","id":"Extension","isModifier":false,"max":"*","min":0,"path":"Extension","short":"References a resource that this resource replaces"},{"base":{"max":"1","min":0,"path":"Element.id"},"definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","id":"Extension.id","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","type":[{"code":"http://hl7.org/fhirpath/System.String","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUri":"string"}]}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"constraint":[{"expression":"hasValue() or (children().count() > id.count())","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Element","xpath":"@value|f:*|h:div"},{"expression":"extension.exists() != value.exists()","human":"Must have either extensions or value[x], not both","key":"ext-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Extension","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])"}],"definition":"An Extension","id":"Extension.extension","isModifier":false,"isSummary":false,"max":"0","min":0,"path":"Extension.extension","short":"Extension","slicing":{"description":"Extensions are always sliced by (at least) url","discriminator":[{"path":"url","type":"value"}],"rules":"open"},"type":[{"code":"Extension"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"http://hl7.org/fhir/StructureDefinition/replaces","id":"Extension.url","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":[{"code":"http://hl7.org/fhirpath/System.String","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUri":"uri"}]}]},{"base":{"max":"1","min":0,"path":"Extension.value[x]"},"constraint":[{"expression":"hasValue() or (children().count() > id.count())","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Element","xpath":"@value|f:*|h:div"}],"definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).","id":"Extension.value[x]","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.value[x]","short":"Value of extension","type":[{"code":"canonical","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}]}]},"status":"draft","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/replaces","version":"4.6.0"}