{ "description": "Establishes a relationship between this goal and other goals.", "_filename": "StructureDefinition-goal-relationship.json", "package_name": "hl7.fhir.r2b.examples", "date": null, "derivation": "constraint", "publisher": "Health Level Seven, Inc. - FHIR WG", "fhirVersion": "1.6.0", "name": "Goals related to this one", "baseType": "Extension", "abstract": false, "type": null, "experimental": "false", "resourceType": "StructureDefinition", "title": null, "package_version": "1.4.0", "snapshot": { "element": [ { "path": "Extension", "min": 0, "definition": "Establishes a relationship between this goal and other goals.", "isModifier": false, "short": "Goals related to this one", "mustSupport": false, "max": "*", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Extension" }, "isSummary": false }, { "path": "Extension.id", "min": 0, "definition": "unique id for the element within a resource (for internal references).", "isModifier": false, "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "id" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.id" }, "isSummary": false }, { "path": "Extension.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "slicing": { "rules": "open", "ordered": false, "discriminator": [ "url.@type" ] }, "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "*", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension", "min": 1, "definition": "Identifies what kind of relationship exists between source and target goal.", "isModifier": false, "short": "predecessor | successor | replacement | other", "name": "type", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.id", "min": 0, "definition": "unique id for the element within a resource (for internal references).", "isModifier": false, "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "id" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.id" }, "isSummary": false }, { "path": "Extension.extension.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "name": "extension", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "short": "identifies the meaning of the extension", "fixedUri": "type", "comments": "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 should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #.", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "uri" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "path": "Extension.extension.valueCodeableConcept", "min": 1, "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": false, "binding": { "strength": "required", "description": "Types of relationships between two goals", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-relationship-type" } }, "max": "1", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false }, { "path": "Extension.extension", "min": 1, "definition": "The goal the relationship exists with.", "isModifier": false, "short": "Related goal", "name": "target", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.id", "min": 0, "definition": "unique id for the element within a resource (for internal references).", "isModifier": false, "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "id" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.id" }, "isSummary": false }, { "path": "Extension.extension.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "name": "extension", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "short": "identifies the meaning of the extension", "fixedUri": "target", "comments": "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 should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #.", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "uri" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "path": "Extension.extension.valueReference", "min": 1, "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Reference", "profile": [ "http://hl7.org/fhir/StructureDefinition/Goal" ] } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false }, { "path": "Extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "short": "identifies the meaning of the extension", "fixedUri": "http://hl7.org/fhir/StructureDefinition/goal-relationship", "comments": "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 should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #.", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "uri" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "path": "Extension.value[x]", "min": 0, "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "boolean" }, { "code": "integer" }, { "code": "decimal" }, { "code": "base64Binary" }, { "code": "instant" }, { "code": "string" }, { "code": "uri" }, { "code": "date" }, { "code": "dateTime" }, { "code": "time" }, { "code": "code" }, { "code": "oid" }, { "code": "id" }, { "code": "unsignedInt" }, { "code": "positiveInt" }, { "code": "markdown" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "Identifier" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Period" }, { "code": "Ratio" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "HumanName" }, { "code": "Address" }, { "code": "ContactPoint" }, { "code": "Timing" }, { "code": "Reference" }, { "code": "Meta" } ], "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false } ] }, "status": "draft", "id": "cdc4b529-5893-42fe-9275-4e70223dc132", "kind": "datatype", "url": "http://hl7.org/fhir/StructureDefinition/goal-relationship", "context": [ "Goal" ], "version": null, "differential": { "element": [ { "path": "Extension", "min": 0, "definition": "Establishes a relationship between this goal and other goals.", "isModifier": false, "short": "Goals related to this one", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "*", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Extension" }, "isSummary": false }, { "path": "Extension.extension", "min": 1, "definition": "Identifies what kind of relationship exists between source and target goal.", "isModifier": false, "short": "predecessor | successor | replacement | other", "name": "type", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension" }, "isSummary": false }, { "path": "Extension.extension.extension", "min": 0, "isModifier": false, "name": "extension", "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "0", "min": 0, "path": "Extension.extension.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 0, "isModifier": false, "fixedUri": "type", "type": [ { "code": "uri" } ], "mustSupport": false, "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension.url" }, "isSummary": false }, { "path": "Extension.extension.value[x]", "min": 1, "isModifier": false, "type": [ { "code": "CodeableConcept" } ], "mustSupport": false, "binding": { "strength": "required", "description": "Types of relationships between two goals", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/goal-relationship-type" } }, "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension.value[x]" }, "isSummary": false }, { "path": "Extension.extension", "min": 1, "definition": "The goal the relationship exists with.", "isModifier": false, "short": "Related goal", "name": "target", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension" }, "isSummary": false }, { "path": "Extension.extension.extension", "min": 0, "isModifier": false, "name": "extension", "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "0", "min": 0, "path": "Extension.extension.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 0, "isModifier": false, "fixedUri": "target", "type": [ { "code": "uri" } ], "mustSupport": false, "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension.url" }, "isSummary": false }, { "min": 1, "base": { "max": "1", "min": 0, "path": "Extension.extension.value[x]" }, "path": "Extension.extension.value[x]", "type": [ { "code": "Reference", "profile": [ "http://hl7.org/fhir/StructureDefinition/Goal" ] } ], "isSummary": false, "maxLength": 0, "isModifier": false, "mustSupport": false }, { "path": "Extension.url", "min": 0, "isModifier": false, "fixedUri": "http://hl7.org/fhir/StructureDefinition/goal-relationship", "type": [ { "code": "uri" } ], "mustSupport": false, "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.url" }, "isSummary": false }, { "max": "0", "min": 0, "base": { "max": "0", "min": 0, "path": "Extension.value[x]" }, "path": "Extension.value[x]", "isSummary": false, "maxLength": 0, "isModifier": false, "mustSupport": false } ] }, "contact": [ { "telecom": [ { "rank": 1, "value": "http://hl7.org/special/committees/fhir", "system": "other" } ] } ], "contextType": "resource", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension" }