{
  "resourceType": "StructureDefinition",
  "id": "ncdhc-composition-view-antenatal-visits-information-weight",
  "url": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-view-antenatal-visits-information-weight",
  "version": "dv0.0.1",
  "name": "NCDHCAntenatalVisitsSelectedInformationViewWeightCompositionProfile",
  "title": "NCDHC NCDHC Antenatal Visits Information Weight Composition",
  "status": "draft",
  "date": "2020-04-23",
  "publisher": "National Children's Digital Health Collaborative (NCDHC)",
  "description": "To view all a list of the selected information from antenatal visits as shared by clinical providers",
  "purpose": "To generate a Custom View so that consumer can view all a list of the selected information from antenatal visits as shared by clinical providers",
  "copyright": "Copyright © 2019 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Composition",
  "baseDefinition": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-view-base",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Composition",
        "path": "Composition",
        "short": "NCDHC NCDHC Antenatal Visits Information Weight Composition"
      },
      {
        "id": "Composition.type",
        "path": "Composition.type",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-document-type-1"
          }
        }
      },
      {
        "id": "Composition.type.coding.system",
        "path": "Composition.type.coding.system",
        "fixedUri": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-document-type-1"
      },
      {
        "id": "Composition.type.coding.code",
        "path": "Composition.type.coding.code",
        "fixedCode": "ANTVSTWTINF"
      },
      {
        "id": "Composition.class",
        "path": "Composition.class",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-document-class-1"
          }
        }
      },
      {
        "id": "Composition.class.coding.system",
        "path": "Composition.class.coding.system",
        "fixedUri": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-document-class-1"
      },
      {
        "id": "Composition.class.coding.code",
        "path": "Composition.class.coding.code",
        "fixedCode": "LONGVW"
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-patient-expectant-mother"
          }
        ]
      },
      {
        "id": "Composition.date",
        "path": "Composition.date",
        "short": "Date Time when the view is generated"
      },
      {
        "id": "Composition.author",
        "path": "Composition.author",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-device"
          }
        ]
      },
      {
        "id": "Composition.title",
        "path": "Composition.title",
        "fixedString": "My Weight"
      },
      {
        "id": "Composition.section",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Section"
          }
        ],
        "path": "Composition.section",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section.title",
        "path": "Composition.section.title",
        "fixedString": "My Weight"
      },
      {
        "id": "Composition.section.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section.code.coding",
        "path": "Composition.section.code.coding",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "27113001"
        }
      },
      {
        "id": "Composition.section.entry",
        "path": "Composition.section.entry",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-questionnaireresponse-base",
            "aggregation": [
              "bundled"
            ]
          }
        ]
      }
    ]
  }
}