FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/fmc-condition-profile

Packagefmcna.caredata.fhir.ig.r4
Resource TypeStructureDefinition
Idfmc-condition-profile
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=fmcna.caredata.fhir.ig.r4@1.1.9&canonical=http://fkcfhir.org/fhir/StructureDefinition/fmc-condition-profile
URLhttp://fkcfhir.org/fhir/StructureDefinition/fmc-condition-profile
Version1.1.8
Statusactive
NameFreseniusConidtion
TitleFresenius Condition Profile
DescriptionFresenius Condition Profile
TypeCondition
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
us-core-condition-encounter-diagnosisUS Core Condition Encounter Diagnosis Profile
fmc-condition-eoc-extnExtension: FreseniusConiditionEOCextension
fmc-condition-type-extnExtension: FreseniusConiditionTypextension

Narrative

No narrative content found in resource


Source

{
  "resourceType": "StructureDefinition",
  "id": "fmc-condition-profile",
  "url": "http://fkcfhir.org/fhir/StructureDefinition/fmc-condition-profile",
  "version": "1.1.8",
  "name": "FreseniusConidtion",
  "title": "Fresenius Condition Profile",
  "status": "active",
  "description": "Fresenius Condition Profile",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition",
        "path": "Condition",
        "constraint": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean": true
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown": "Most systems will expect a clinicalStatus to be valued for problem-list-items that are managed over time, but might not need a clinicalStatus for point in time encounter-diagnosis."
              }
            ],
            "key": "con-3",
            "severity": "warning",
            "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item",
            "expression": "clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()",
            "xpath": "exists(f:clinicalStatus) or exists(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(category[@value='problem-list-item']))",
            "source": "http://hl7.org/fhir/StructureDefinition/Condition"
          },
          {
            "key": "con-4",
            "severity": "error",
            "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission",
            "expression": "abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()",
            "xpath": "not(exists(*[starts-with(local-name(.), 'abatement')])) or exists(f:clinicalStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-clinical' and f:code/@value=('resolved', 'remission', 'inactive')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Condition"
          },
          {
            "key": "con-5",
            "severity": "error",
            "human": "Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error",
            "expression": "verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()",
            "xpath": "not(exists(f:verificationStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-ver-status' and f:code/@value='entered-in-error'])) or not(exists(f:clinicalStatus))",
            "source": "http://hl7.org/fhir/StructureDefinition/Condition"
          },
          {
            "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": "http://hl7.org/fhir/StructureDefinition/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 or SHALL refer to the containing resource",
            "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
            "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
            "source": "http://hl7.org/fhir/StructureDefinition/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": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-5",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression": "contained.meta.security.empty()",
            "xpath": "not(exists(f:contained/*/f:meta/f:security))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean": true
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key": "dom-6",
            "severity": "warning",
            "human": "A resource should have narrative for robust management",
            "expression": "text.`div`.exists()",
            "xpath": "exists(f:text/h:div)",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "cond-1",
            "severity": "error",
            "human": "Condition onset start datetime must be less that current date + 1 year",
            "expression": "Condition.onsetPeriod.where(start <= (now() - 1 year))",
            "source": "http://fkcfhir.org/fhir/StructureDefinition/fmc-condition-profile"
          }
        ]
      },
      {
        "id": "Condition.extension",
        "path": "Condition.extension",
        "min": 1
      },
      {
        "id": "Condition.extension:conidtionType",
        "path": "Condition.extension",
        "sliceName": "conidtionType",
        "short": "Condition Type",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fkcfhir.org/fhir/StructureDefinition/fmc-condition-type-extn"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.extension:conidtionEoc",
        "path": "Condition.extension",
        "sliceName": "conidtionEoc",
        "short": "Condition Episode Of Care",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fkcfhir.org/fhir/StructureDefinition/fmc-condition-eoc-extn"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.identifier",
        "path": "Condition.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "base": {
          "path": "Condition.identifier",
          "min": 1,
          "max": "*"
        },
        "mustSupport": true
      },
      {
        "id": "Condition.identifier:ConditionIdentifier",
        "path": "Condition.identifier",
        "sliceName": "ConditionIdentifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Condition.identifier:ConditionIdentifier.system",
        "path": "Condition.identifier.system",
        "min": 1,
        "patternUri": "urn:oid:2.16.840.1.113883.3.7418.15.1"
      }
    ]
  }
}