{
  "resourceType": "StructureDefinition",
  "id": "TestObservation2-cf-profile",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2018-05-30T13:04:17.764+00:00"
  },
  "url": "http://fhirtest.uhn.ca/baseDstu3/StructureDefinition/TestObservation2-cf-profile",
  "identifier": [
    {
      "system": "http://clinfhir.com",
      "value": "author"
    }
  ],
  "name": "TestObservation2",
  "status": "draft",
  "date": "2018-05-30T13:03:17+00:00",
  "purpose": "TestObservation2",
  "keyword": [
    {
      "system": "http://fhir.hl7.org.nz/NamingSystem/application",
      "code": "clinfhir"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "Observation:Observation-0",
        "path": "Observation",
        "label": "TestObservation2",
        "definition": "No description",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TestObservation2",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Observation:Observation.identifier-1",
        "path": "Observation.identifier",
        "label": "identifier",
        "short": "Business Identifier for observation",
        "definition": "A unique identifier assigned to this observation.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TestObservation2.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.identifier|"
          }
        ]
      },
      {
        "id": "Observation:Observation.basedOn-2",
        "path": "Observation.basedOn",
        "label": "basedOn",
        "short": "Fulfills plan, proposal or order",
        "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TestObservation2.basedOn",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceRequest"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.basedOn|"
          }
        ]
      },
      {
        "id": "Observation:Observation.status-3",
        "path": "Observation.status",
        "label": "status",
        "short": "registered | preliminary | final | amended +",
        "definition": "The status of the result value.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TestObservation2.status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "Codes providing the status of an observation.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-status"
          }
        },
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.status|"
          }
        ]
      },
      {
        "id": "Observation:Observation.category-4",
        "path": "Observation.category",
        "label": "category",
        "short": "Classification of  type of observation",
        "definition": "A code that classifies the general type of observation being made.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TestObservation2.category",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "Codes for high level observation categories.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-category"
          }
        },
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.category|"
          }
        ]
      },
      {
        "id": "Observation:Observation.code-5",
        "path": "Observation.code",
        "label": "code",
        "short": "Type of observation (code / type)",
        "definition": "Describes what was observed. Sometimes this is called the observation \"name\".",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TestObservation2.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes identifying names of simple observations.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-codes"
          }
        },
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.code|"
          }
        ]
      },
      {
        "id": "Observation:Observation.effective[x]-6",
        "path": "Observation.effective[x]",
        "label": "effective[x]",
        "short": "Clinically relevant time/time-period for observation",
        "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TestObservation2.effective[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.effective[x]|"
          }
        ]
      },
      {
        "id": "Observation:Observation.performer-7",
        "path": "Observation.performer",
        "label": "performer",
        "short": "Who is responsible for the observation",
        "definition": "Who was responsible for asserting the observed value as \"true\".",
        "min": 1,
        "max": "*",
        "base": {
          "path": "TestObservation2.performer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.performer|"
          }
        ]
      },
      {
        "id": "Observation:Observation.value[x]-8",
        "path": "Observation.value[x]",
        "label": "value[x]",
        "short": "Actual result",
        "definition": "The information determined as a result of making the observation, if the information has a simple value.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TestObservation2.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.value[x]|"
          }
        ]
      },
      {
        "id": "Observation:Observation.bodySite-9",
        "path": "Observation.bodySite",
        "label": "bodySite",
        "short": "Observed body part",
        "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TestObservation2.bodySite",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes describing anatomical locations. May include laterality.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/body-site"
          }
        },
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.bodySite|"
          }
        ]
      },
      {
        "id": "Observation:Observation.method-10",
        "path": "Observation.method",
        "label": "method",
        "short": "How it was done",
        "definition": "Indicates the mechanism used to perform the observation.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TestObservation2.method",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedString": "123456789",
        "binding": {
          "strength": "example",
          "description": "Methods for simple observations.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-methods"
          }
        },
        "mapping": [
          {
            "identity": "fhir",
            "map": "Observation.method|"
          }
        ]
      }
    ]
  }
}