{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-01-29T17:49:53.481+00:00"
  },
  "url": "http://cens.cl/fhir/tfc/StructureDefinition/substance-cl-tfc",
  "name": "substance-cl-tfc",
  "title": "Substance TFC",
  "status": "draft",
  "date": "2018-01-11T13:50:49.946+00:00",
  "publisher": "CENS",
  "description": "Representando la Sustancia de la Terminologia Faramaceutica Chilena",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Substance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Substance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Substance",
        "path": "Substance",
        "comment": "-"
      },
      {
        "id": "Substance.identifier",
        "path": "Substance.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "short": "CensId",
        "min": 1
      },
      {
        "id": "Substance.identifier.period",
        "path": "Substance.identifier.period",
        "max": "0"
      },
      {
        "id": "Substance.identifier.assigner",
        "path": "Substance.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Substance.identifier:CensId",
        "path": "Substance.identifier",
        "sliceName": "CensId",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Substance.identifier:CensId.use",
        "path": "Substance.identifier.use",
        "fixedCode": "official"
      },
      {
        "id": "Substance.identifier:CensId.system",
        "path": "Substance.identifier.system",
        "min": 1,
        "fixedUri": "http://cens.cl/fhir/tfc/NamingSystem/tfc-sustancia"
      },
      {
        "id": "Substance.identifier:CensId.value",
        "path": "Substance.identifier.value",
        "min": 1
      },
      {
        "id": "Substance.status",
        "path": "Substance.status",
        "min": 1
      },
      {
        "id": "Substance.code",
        "path": "Substance.code",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://cens.cl/fhir/tfc/StructureDefinition/CodeableConcept-cl-tfc-substance"
          }
        ]
      },
      {
        "id": "Substance.ingredient",
        "path": "Substance.ingredient",
        "max": "0"
      }
    ]
  }
}