{
  "resourceType": "StructureDefinition",
  "url": "http://hl7.org/fhir/4.0/StructureDefinition/Observation",
  "name": "ObservationPSRD",
  "status": "draft",
  "date": "2024-05-08T16:17:04.0154944+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "short": "Identificador lógico asociado al recurso",
        "definition": "Identificador lógico del recurso, usado en la URL del mismo, una vez asignado este valor nunca cambia.",
        "comment": "El único momento en que un recurso no tiene id es cuando está siendo enviado al servidor usando una operación de creación."
      },
      {
        "id": "Observation.implicitRules",
        "path": "Observation.implicitRules",
        "max": "0"
      },
      {
        "id": "Observation.language",
        "path": "Observation.language",
        "max": "0"
      },
      {
        "id": "Observation.text",
        "path": "Observation.text",
        "max": "0"
      },
      {
        "id": "Observation.contained",
        "path": "Observation.contained",
        "max": "0"
      },
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "max": "0"
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/CarePlan"
            ]
          }
        ]
      },
      {
        "id": "Observation.basedOn.id",
        "path": "Observation.basedOn.id",
        "max": "0"
      },
      {
        "id": "Observation.basedOn.type",
        "path": "Observation.basedOn.type",
        "fixedUri": "CarePlan"
      },
      {
        "id": "Observation.basedOn.identifier",
        "path": "Observation.basedOn.identifier",
        "max": "0"
      },
      {
        "id": "Observation.basedOn.display",
        "path": "Observation.basedOn.display",
        "max": "0"
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "max": "0"
      },
      {
        "id": "Observation.category.id",
        "path": "Observation.category.id",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.id",
        "path": "Observation.category.coding.id",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://onesait.healthcare.com/goal-categories"
      },
      {
        "id": "Observation.category.coding.version",
        "path": "Observation.category.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.userSelected",
        "path": "Observation.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.category.text",
        "path": "Observation.category.text",
        "max": "0"
      },
      {
        "id": "Observation.code.id",
        "path": "Observation.code.id",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.id",
        "path": "Observation.code.coding.id",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding.version",
        "path": "Observation.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.userSelected",
        "path": "Observation.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.subject.id",
        "path": "Observation.subject.id",
        "max": "0"
      },
      {
        "id": "Observation.subject.type",
        "path": "Observation.subject.type",
        "fixedUri": "Patient"
      },
      {
        "id": "Observation.subject.identifier",
        "path": "Observation.subject.identifier",
        "max": "0"
      },
      {
        "id": "Observation.subject.display",
        "path": "Observation.subject.display",
        "max": "0"
      },
      {
        "id": "Observation.focus",
        "path": "Observation.focus",
        "max": "0"
      },
      {
        "id": "Observation.encounter",
        "path": "Observation.encounter",
        "max": "0"
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer.id",
        "path": "Observation.performer.id",
        "max": "0"
      },
      {
        "id": "Observation.performer.type",
        "path": "Observation.performer.type",
        "fixedUri": "Practitioner"
      },
      {
        "id": "Observation.performer.identifier",
        "path": "Observation.performer.identifier",
        "max": "0"
      },
      {
        "id": "Observation.performer.display",
        "path": "Observation.performer.display",
        "max": "0"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.value[x].id",
        "path": "Observation.value[x].id",
        "max": "0"
      },
      {
        "id": "Observation.value[x].comparator",
        "path": "Observation.value[x].comparator",
        "max": "0"
      },
      {
        "id": "Observation.value[x].system",
        "path": "Observation.value[x].system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.note.id",
        "path": "Observation.note.id",
        "max": "0"
      },
      {
        "id": "Observation.note.author[x]",
        "path": "Observation.note.author[x]",
        "max": "0"
      },
      {
        "id": "Observation.note.time",
        "path": "Observation.note.time",
        "max": "0"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "max": "0"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "max": "0"
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.id",
        "path": "Observation.referenceRange.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.low.id",
        "path": "Observation.referenceRange.low.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.high.id",
        "path": "Observation.referenceRange.high.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.type",
        "path": "Observation.referenceRange.type",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.appliesTo",
        "path": "Observation.referenceRange.appliesTo",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.age",
        "path": "Observation.referenceRange.age",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.text",
        "path": "Observation.referenceRange.text",
        "max": "0"
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "max": "0"
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
            ]
          }
        ]
      },
      {
        "id": "Observation.derivedFrom.id",
        "path": "Observation.derivedFrom.id",
        "max": "0"
      },
      {
        "id": "Observation.derivedFrom.type",
        "path": "Observation.derivedFrom.type",
        "fixedUri": "QuestionnaireResponse"
      },
      {
        "id": "Observation.derivedFrom.identifier",
        "path": "Observation.derivedFrom.identifier",
        "max": "0"
      },
      {
        "id": "Observation.derivedFrom.display",
        "path": "Observation.derivedFrom.display",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "max": "0"
      }
    ]
  }
}