{
  "resourceType": "StructureDefinition",
  "id": "BSeR-Childhood-Nutrition-Request-Obs",
  "url": "http://hl7.org/fhir/us/bser/StructureDefinition/BSeR-Childhood-Nutrition-Request-Obs",
  "name": "BSeR Childhood Nutrition Request Obs",
  "status": "draft",
  "contact": [
    {
      "name": "Salimah Shakir",
      "telecom": [
        {
          "system": "phone",
          "value": "8184306686",
          "use": "work"
        },
        {
          "system": "email",
          "value": "salimah@shakirconsulting.com",
          "use": "work"
        }
      ]
    }
  ],
  "kind": "resource",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Observation"
  ],
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation"
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "short": "id",
        "definition": "MAY contain zero or one [0..1] id (CONF:4383-838).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.meta",
        "path": "Observation.meta",
        "short": "meta",
        "definition": "MAY contain zero or one [0..1] meta (CONF:4383-835).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "short": "profile",
        "definition": "The meta, if present, SHALL contain exactly one [1..1] profile=\"http://hl7.org/fhir/us/bser/StructureDefinition/BSeR-Childhood-Nutrition-Request-Obs\" (CONF:4383-839).",
        "min": 1,
        "max": "1",
        "patternString": "http://hl7.org/fhir/us/bser/StructureDefinition/BSeR-Childhood-Nutrition-Request-Obs"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "short": "category",
        "definition": "SHALL contain exactly one [1..1] category=\"\"procedure\"\" (CONF:4383-840).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "\"procedure\""
            }
          ]
        }
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "code",
        "definition": "SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Childhoodnutritionrequestobscode http://hl7.org/fhir/us/bser/ValueSet/Childhoodnutritionrequestobscode DYNAMIC (CONF:4383-841).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/us/bser/ValueSet/Childhoodnutritionrequestobscode",
            "display": "Childhoodnutritionrequestobscode"
          }
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "subject",
        "definition": "SHALL contain exactly one [1..1] subject=\"BSeR Related Person\" (CONF:4383-842).",
        "comment": "BSeR Related Person",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
          }
        ],
        "patternString": "BSeR Related Person"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "subject",
        "definition": "SHALL contain exactly one [1..1] subject=\"BSeR Patient\" (CONF:4383-843).",
        "comment": "BSeR Patient",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
          }
        ],
        "patternString": "BSeR Patient"
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "effective[x]",
        "definition": "SHALL contain zero or one [0..1] effective[x], where effective[x] is (CONF:4383-836)",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.effective[x]:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "short": "effectiveDateTime",
        "definition": "effectiveDateTime (CONF:4383-844)"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "value[x]",
        "definition": "SHALL contain exactly one [1..1] value[x], where value[x] is one of (CONF:4383-837)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "valueCodeableConcept",
        "definition": "valueCodeableConcept, which SHALL be selected from ValueSet Childhoodnutritionrequestobsvalue http://hl7.org/fhir/us/bser/ValueSet/Childhoodnutritionrequestobsvalue DYNAMIC (CONF:4383-845)",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/us/bser/ValueSet/Childhoodnutritionrequestobsvalue",
            "display": "Childhoodnutritionrequestobsvalue"
          }
        }
      },
      {
        "id": "Observation.value[x]:valueBoolean",
        "path": "Observation.valueBoolean",
        "sliceName": "valueBoolean",
        "short": "valueBoolean",
        "definition": "or valueBoolean (CONF:4383-846)"
      }
    ]
  }
}