PackagesCanonicalsLogsProblems
    Packages
    openehr.base@0.1.0-snapshot
    http://openehr.org/fhir/StructureDefinition/AUTHORED-RESOURCE
{
  "description": "Abstract idea of an online resource created by a human author. \\n",
  "_filename": "StructureDefinition-AUTHORED-RESOURCE.json",
  "package_name": "openehr.base",
  "date": "2025-09-06T15:35:39+10:00",
  "derivation": "specialization",
  "publisher": "openEHR + HL7",
  "fhirVersion": "5.0.0",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
    } ]
  } ],
  "name": "AUTHORED_RESOURCE",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": true,
  "type": "http://openehr.org/fhir/StructureDefinition/AUTHORED_RESOURCE",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "AUTHORED_RESOURCE",
  "package_version": "0.1.0-snapshot",
  "extension": [ {
    "url": "http://hl7.org/fhir/tools/StructureDefinition/web-source",
    "valueUrl": "https://specifications.openehr.org/releases/RM/development/common.html#_authored_resource_class"
  }, {
    "url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
    "valueCanonical": "#current_revision"
  }, {
    "url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
    "valueCanonical": "#languages_available"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "fhir"
  }, {
    "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
    "valueCode": "element-view-replace-cardinality"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 3,
    "_valueInteger": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
      } ]
    }
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "informative",
    "_valueCode": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
      } ]
    }
  } ],
  "contained": [ {
    "description": "Most recent revision in `_revision_history_` if `_is_controlled_` else  (uncontrolled) . ",
    "system": false,
    "instance": true,
    "name": "current_revision",
    "resourceType": "OperationDefinition",
    "title": "current_revision",
    "status": "active",
    "id": "current_revision",
    "kind": "operation",
    "code": "current_revision",
    "parameter": [ {
      "max": "1",
      "min": 1,
      "use": "out",
      "name": "return",
      "type": "string"
    } ]
  }, {
    "description": "Total list of languages available in this resource, derived from `_original_language_` and `_translations_`.\n",
    "system": false,
    "instance": true,
    "name": "languages_available",
    "resourceType": "OperationDefinition",
    "title": "languages_available",
    "status": "active",
    "id": "languages_available",
    "kind": "operation",
    "code": "languages_available",
    "parameter": [ {
      "max": "1",
      "min": 1,
      "use": "out",
      "name": "return",
      "type": "string"
    } ]
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "Languages_available_valid",
        "human": "Languages available valid",
        "severity": "error",
        "expression": "languages_available().has (original_language)"
      }, {
        "key": "Revision_history_valid",
        "human": "Revision history valid must satisfy exclusive conditions",
        "severity": "error",
        "expression": "is_controlled xor revision_history .empty()"
      }, {
        "key": "Current_revision_valid",
        "human": "Current revision valid must be present",
        "severity": "error",
        "expression": "(current_revision().exists() and is_controlled.not()) implies current_revision().is_equal (“(uncontrolled)”)"
      }, {
        "key": "Translations_valid",
        "human": "Translations valid must be present",
        "severity": "error",
        "expression": "translations.exists() implies (translations.empty().not() and translations.not().has (orginal_language.code_string))"
      }, {
        "key": "Description_valid",
        "human": "Description valid must be present",
        "severity": "error",
        "expression": "translations.exists() implies (description.details.for_all (d |\\ntranslations.has_key (d.language.code_string)))"
      } ],
      "path": "AUTHORED_RESOURCE",
      "min": 0,
      "definition": "Abstract idea of an online resource created by a human author. \n",
      "isModifier": false,
      "short": "Abstract idea of an online resource created by a human author.",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "max": "*",
      "id": "AUTHORED_RESOURCE",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      }
    }, {
      "path": "AUTHORED_RESOURCE.original_language",
      "min": 1,
      "definition": "Language in which this resource was initially authored. Although there is no language primacy of resources overall, the language of original authoring is required to ensure natural language translations can preserve quality. Language is relevant in both the description and ontology sections.",
      "isModifier": false,
      "short": "Language in which this resource was initially authored.",
      "type": [ {
        "code": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE"
      } ],
      "max": "1",
      "id": "AUTHORED_RESOURCE.original-language",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AUTHORED_RESOURCE.original_language"
      }
    }, {
      "path": "AUTHORED_RESOURCE.is_controlled",
      "min": 0,
      "definition": "True if this resource is under any kind of change control (even file copying), in which case revision history is created.",
      "isModifier": false,
      "short": "True if this resource is under any kind of change control (even file copying), in which case revision history is created.",
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "AUTHORED_RESOURCE.is-controlled",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AUTHORED_RESOURCE.is_controlled"
      }
    }, {
      "path": "AUTHORED_RESOURCE.translations",
      "min": 0,
      "definition": "List of details for each natural-language translation made of this resource, keyed by language. For each translation listed here, there must be corresponding sections in all language-dependent parts of the resource. The `_original_language_` does not appear in this list.",
      "isModifier": false,
      "short": "List of details for each natural-language translation made of this resource, keyed by language.",
      "type": [ {
        "code": "http://openehr.org/fhir/StructureDefinition/TRANSLATION-DETAILS"
      } ],
      "max": "1",
      "id": "AUTHORED_RESOURCE.translations",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AUTHORED_RESOURCE.translations"
      }
    }, {
      "path": "AUTHORED_RESOURCE.description",
      "min": 0,
      "definition": "Description and lifecycle information of the resource.",
      "isModifier": false,
      "short": "Description and lifecycle information of the resource.",
      "type": [ {
        "code": "http://openehr.org/fhir/StructureDefinition/RESOURCE-DESCRIPTION"
      } ],
      "max": "1",
      "id": "AUTHORED_RESOURCE.description",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AUTHORED_RESOURCE.description"
      }
    }, {
      "path": "AUTHORED_RESOURCE.revision_history",
      "min": 0,
      "definition": "The revision history of the resource. Only required if `_is_controlled_ = True` (avoids large revision histories for informal or private editing situations).",
      "isModifier": false,
      "short": "The revision history of the resource.",
      "type": [ {
        "code": "http://openehr.org/fhir/StructureDefinition/REVISION-HISTORY"
      } ],
      "max": "1",
      "id": "AUTHORED_RESOURCE.revision-history",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AUTHORED_RESOURCE.revision_history"
      }
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "0.1.0-snapshot"
    } ]
  },
  "status": "active",
  "id": "0fd7e20b-7eed-4cad-968d-f63c5128f60a",
  "kind": "logical",
  "url": "http://openehr.org/fhir/StructureDefinition/AUTHORED-RESOURCE",
  "version": "0.1.0-snapshot",
  "differential": {
    "element": [ {
      "constraint": [ {
        "key": "Languages_available_valid",
        "human": "Languages available valid",
        "severity": "error",
        "expression": "languages_available().has (original_language)"
      }, {
        "key": "Revision_history_valid",
        "human": "Revision history valid must satisfy exclusive conditions",
        "severity": "error",
        "expression": "is_controlled xor revision_history .empty()"
      }, {
        "key": "Current_revision_valid",
        "human": "Current revision valid must be present",
        "severity": "error",
        "expression": "(current_revision().exists() and is_controlled.not()) implies current_revision().is_equal (“(uncontrolled)”)"
      }, {
        "key": "Translations_valid",
        "human": "Translations valid must be present",
        "severity": "error",
        "expression": "translations.exists() implies (translations.empty().not() and translations.not().has (orginal_language.code_string))"
      }, {
        "key": "Description_valid",
        "human": "Description valid must be present",
        "severity": "error",
        "expression": "translations.exists() implies (description.details.for_all (d |\\ntranslations.has_key (d.language.code_string)))"
      } ],
      "path": "AUTHORED_RESOURCE",
      "min": 0,
      "definition": "Abstract idea of an online resource created by a human author. \n",
      "isModifier": false,
      "short": "Abstract idea of an online resource created by a human author.",
      "binding": {
        "strength": "required",
        "valueSet": "https://specifications.openehr.org/fhir/valueset-languages"
      },
      "max": "*",
      "id": "AUTHORED_RESOURCE"
    }, {
      "id": "AUTHORED_RESOURCE.original-language",
      "max": "1",
      "min": 1,
      "path": "AUTHORED_RESOURCE.original_language",
      "type": [ {
        "code": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE"
      } ],
      "short": "Language in which this resource was initially authored.",
      "definition": "Language in which this resource was initially authored. Although there is no language primacy of resources overall, the language of original authoring is required to ensure natural language translations can preserve quality. Language is relevant in both the description and ontology sections. ",
      "isModifier": false
    }, {
      "id": "AUTHORED_RESOURCE.is-controlled",
      "max": "1",
      "min": 0,
      "path": "AUTHORED_RESOURCE.is_controlled",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "True if this resource is under any kind of change control (even file copying), in which case revision history is created.",
      "definition": "True if this resource is under any kind of change control (even file copying), in which case revision history is created. ",
      "isModifier": false
    }, {
      "id": "AUTHORED_RESOURCE.translations",
      "max": "1",
      "min": 0,
      "path": "AUTHORED_RESOURCE.translations",
      "type": [ {
        "code": "http://openehr.org/fhir/StructureDefinition/TRANSLATION-DETAILS"
      } ],
      "short": "List of details for each natural-language translation made of this resource, keyed by language.",
      "definition": "List of details for each natural-language translation made of this resource, keyed by language. For each translation listed here, there must be corresponding sections in all language-dependent parts of the resource. The `_original_language_` does not appear in this list.",
      "isModifier": false
    }, {
      "id": "AUTHORED_RESOURCE.description",
      "max": "1",
      "min": 0,
      "path": "AUTHORED_RESOURCE.description",
      "type": [ {
        "code": "http://openehr.org/fhir/StructureDefinition/RESOURCE-DESCRIPTION"
      } ],
      "short": "Description and lifecycle information of the resource.",
      "definition": "Description and lifecycle information of the resource.",
      "isModifier": false
    }, {
      "id": "AUTHORED_RESOURCE.revision-history",
      "max": "1",
      "min": 0,
      "path": "AUTHORED_RESOURCE.revision_history",
      "type": [ {
        "code": "http://openehr.org/fhir/StructureDefinition/REVISION-HISTORY"
      } ],
      "short": "The revision history of the resource.",
      "definition": "The revision history of the resource. Only required if `_is_controlled_ = True` (avoids large revision histories for informal or private editing situations). ",
      "isModifier": false
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://www.openehr.org",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://openehr.org/fhir/StructureDefinition/Any"
}